mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
bluetooth: Use 'Alias' value as the device description
The 'Alias' property should be preffered over the 'Name' property, according to the BlueZ API documentation.
This commit is contained in:
parent
6e73c05cbc
commit
5b48062f94
1 changed files with 1 additions and 1 deletions
|
|
@ -2249,7 +2249,7 @@ static int add_card(struct userdata *u) {
|
|||
data.driver = __FILE__;
|
||||
data.module = u->module;
|
||||
|
||||
n = pa_bluetooth_cleanup_name(device->name);
|
||||
n = pa_bluetooth_cleanup_name(device->alias);
|
||||
pa_proplist_sets(data.proplist, PA_PROP_DEVICE_DESCRIPTION, n);
|
||||
pa_xfree(n);
|
||||
pa_proplist_sets(data.proplist, PA_PROP_DEVICE_STRING, device->address);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue