mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
rename PA_PROP_DEVICE_CONNECTOR to PA_PROP_DEVICE_BUS
This commit is contained in:
parent
cce56ab343
commit
cc8d51ad62
2 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue