mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
bluez5: Manage BAP linked transports
Multiple transport from the same device may share the same stream (CIS) and group (CIG) but for different direction, e.g. a speaker and a microphone. In this case they are linked. In this case: - On acquire, if another transport has already been acquired, the new transport should not call Acquire or TryAcquire but re-use values from the previously acquired transport, - on release, the closing of transport fd and call to Release should be done only for the last transport.
This commit is contained in:
parent
81f70aa1ec
commit
28b4fbecfb
2 changed files with 72 additions and 2 deletions
|
|
@ -603,6 +603,7 @@ struct spa_bt_transport {
|
|||
int configuration_len;
|
||||
char *endpoint_path;
|
||||
bool bap_initiator;
|
||||
struct spa_list bap_transport_linked;
|
||||
|
||||
uint32_t n_channels;
|
||||
uint32_t channels[64];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue