bluez5: make A2DP/BAP transport acquire/release async

Change A2DP/BAP transport acquire and release to be async.

Since BlueZ acquiring ISO sockets blocks until all sockets in same CIG
are acquired, BAP transports must be acquired asynchronously.
This commit is contained in:
Pauli Virtanen 2023-03-14 22:06:23 +02:00 committed by P V
parent 1d5c693d33
commit 63118b130e
2 changed files with 153 additions and 78 deletions

View file

@ -611,6 +611,7 @@ struct spa_bt_transport {
struct spa_source volume_timer;
struct spa_source release_timer;
DBusPendingCall *acquire_call;
struct spa_hook_list listener_list;
struct spa_callbacks impl;