bluez5: set BAP channel location from transport if unset

If BAP codec configuration is mono channel with unspecified location,
set the channel position from transport location.

This in principle should be set in SelectProperties, but currently BlueZ
doesn't tell us that yet there, so we hack it up later on.
This commit is contained in:
Pauli Virtanen 2023-04-02 19:45:12 +03:00 committed by Wim Taymans
parent 8f840e703b
commit 6e94487057
4 changed files with 80 additions and 6 deletions

View file

@ -612,6 +612,7 @@ struct spa_bt_transport {
unsigned int latency_us;
uint8_t bap_cig;
uint8_t bap_cis;
uint32_t bap_location;
struct spa_bt_iso_io *iso_io;
struct spa_bt_sco_io *sco_io;