mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: route shouldn't list a2dp profiles when not connected
This commit is contained in:
parent
3673265ae2
commit
a5dc2493df
1 changed files with 2 additions and 0 deletions
|
|
@ -448,6 +448,8 @@ static uint32_t profile_direction_mask(struct impl *this, uint32_t index)
|
|||
have_output = true;
|
||||
else if (profile == SPA_BT_PROFILE_A2DP_SOURCE)
|
||||
have_input = true;
|
||||
else if (profile == 0)
|
||||
have_output = have_input = false;
|
||||
else
|
||||
have_output = have_input = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue