mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: enable asha device set only if there's a device set
Now that ASHA uses device set, no need to special case here.
This commit is contained in:
parent
436195f05f
commit
e5d0dd2020
1 changed files with 1 additions and 1 deletions
|
|
@ -684,7 +684,7 @@ static void emit_node(struct impl *this, struct spa_bt_transport *t,
|
||||||
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.a2dp-duplex", "true");
|
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.a2dp-duplex", "true");
|
||||||
n_items++;
|
n_items++;
|
||||||
}
|
}
|
||||||
if (in_device_set || t->media_codec->asha) {
|
if (in_device_set) {
|
||||||
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.set", this->device_set.path);
|
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.set", this->device_set.path);
|
||||||
n_items++;
|
n_items++;
|
||||||
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.internal", "true");
|
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.internal", "true");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue