mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
bluez5: fix BAP codec sink flag usage
MEDIA_CODEC_FLAG_SINK means the local endpoint is sink. Have this the same way for BAP, no need to invert it.
This commit is contained in:
parent
d0d783541d
commit
cc4e5a89b4
3 changed files with 3 additions and 9 deletions
|
|
@ -636,10 +636,7 @@ static int transport_start(struct impl *this)
|
|||
|
||||
this->transport_acquired = true;
|
||||
|
||||
if (this->codec->bap)
|
||||
flags = 0;
|
||||
else
|
||||
flags = this->is_duplex ? 0 : MEDIA_CODEC_FLAG_SINK;
|
||||
flags = this->is_duplex ? 0 : MEDIA_CODEC_FLAG_SINK;
|
||||
|
||||
this->codec_data = this->codec->init(this->codec,
|
||||
flags,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue