]> code.delx.au - pulseaudio/commitdiff
rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS
authorLennart Poettering <lennart@poettering.net>
Sun, 1 Mar 2009 19:32:32 +0000 (20:32 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 1 Mar 2009 19:32:32 +0000 (20:32 +0100)
src/modules/bluetooth/module-bluetooth-device.c
src/pulse/proplist.h

index b2fb1db1e8d03badbac797c2ae41320810cac917..3332df2cd3a835965d8c56bcdc4dd9de1e534f80 100644 (file)
@@ -1728,7 +1728,7 @@ static int add_card(struct userdata *u, const char * default_profile) {
     pa_proplist_sets(data.proplist, PA_PROP_DEVICE_STRING, u->device->address);
     pa_proplist_sets(data.proplist, PA_PROP_DEVICE_API, "bluez");
     pa_proplist_sets(data.proplist, PA_PROP_DEVICE_CLASS, "sound");
-    pa_proplist_sets(data.proplist, PA_PROP_DEVICE_CONNECTOR, "bluetooth");
+    pa_proplist_sets(data.proplist, PA_PROP_DEVICE_BUS, "bluetooth");
     if ((ff = pa_bluetooth_get_form_factor(u->device->class)))
         pa_proplist_sets(data.proplist, PA_PROP_DEVICE_FORM_FACTOR, ff);
     pa_proplist_sets(data.proplist, "bluez.path", u->device->path);
index d87c9f9bbb48ce937b45d6245361b2f8637455c7..7d3b7f7ffa7b697ded528e0a85576018141c5441 100644 (file)
@@ -168,8 +168,8 @@ PA_C_DECL_BEGIN
 /** 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" */
-#define PA_PROP_DEVICE_CONNECTOR               "device.connector"
+/** For devices: bus of the device if applicable. One of "isa", "pci", "usb", "firewire", "bluetooth" */
+#define PA_PROP_DEVICE_BUS                     "device.bus"
 
 /** For devices: access mode of the device if applicable. One of "mmap", "mmap_rewrite", "serial" */
 #define PA_PROP_DEVICE_ACCESS_MODE             "device.access_mode"