]> code.delx.au - pulseaudio/commitdiff
revise form factor list a bit, simplify and use singular everywhere
authorLennart Poettering <lennart@poettering.net>
Sun, 1 Mar 2009 19:30:37 +0000 (20:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 1 Mar 2009 19:30:37 +0000 (20:30 +0100)
src/modules/bluetooth/bluetooth-util.c
src/pulse/proplist.h

index 7855c2efdd32b3807e1d271f51a93cb77e1be2dc..6b522200a827eb30b3467b9d6c510935b864984c 100644 (file)
@@ -811,8 +811,8 @@ const char*pa_bluetooth_get_form_factor(uint32_t class) {
         [1] = "headset",
         [2] = "hands-free",
         [4] = "microphone",
-        [5] = "external-speakers",
-        [6] = "headphones",
+        [5] = "speaker",
+        [6] = "headphone",
         [7] = "portable",
         [8] = "car",
         [10] = "hifi"
index 15711c9a00ac8137c395f6f4070c2798b00070c3..d87c9f9bbb48ce937b45d6245361b2f8637455c7 100644 (file)
@@ -165,7 +165,7 @@ PA_C_DECL_BEGIN
 /** For devices: device class. One of "sound", "modem", "monitor", "filter" */
 #define PA_PROP_DEVICE_CLASS                   "device.class"
 
-/** For devices: form factor if applicable. One of "internal-speakers", "external-speakers", "handset", "tv-capture", "webcam", "microphone", "headset", "headphones", "hands-free", "car", "hifi", "computer", "portable" */
+/** For devices: form factor if applicable. One of "internal", "speaker", "handset", "tv", "webcam", "microphone", "headset", "headphone", "hands-free", "car", "hifi", "computer", "portable" */
 #define PA_PROP_DEVICE_FORM_FACTOR             "device.form_factor"
 
 /** For devices: connector of the device if applicable. One of "isa", "pci", "usb", "firewire", "bluetooth" */