mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-14 05:34:06 -04:00
bluez5: handle BAP volume change events
Handle volume changes initiated by remote also for the BAP profiles.
This commit is contained in:
parent
8a7c71694d
commit
f754741d58
2 changed files with 8 additions and 9 deletions
|
|
@ -3552,6 +3552,12 @@ static void spa_bt_transport_volume_changed(struct spa_bt_transport *transport)
|
|||
volume_id = SPA_BT_VOLUME_ID_RX;
|
||||
else if (transport->profile & SPA_BT_PROFILE_ASHA_SINK)
|
||||
volume_id = SPA_BT_VOLUME_ID_TX;
|
||||
else if (transport->profile & SPA_BT_PROFILE_BAP_SINK)
|
||||
volume_id = SPA_BT_VOLUME_ID_TX;
|
||||
else if (transport->profile & SPA_BT_PROFILE_BAP_SOURCE)
|
||||
volume_id = SPA_BT_VOLUME_ID_RX;
|
||||
else if (transport->profile & SPA_BT_PROFILE_BAP_BROADCAST_SOURCE)
|
||||
volume_id = SPA_BT_VOLUME_ID_RX;
|
||||
else
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue