bluez5: bap: support ChannelAllocation parameter from BlueZ

For multi-ASE configurations, BlueZ does the channel allocation itself,
and passes us the result in the ChannelAllocation parameter.

If it is present, don't do the allocation ourselves but use that value
instead.
This commit is contained in:
Pauli Virtanen 2024-01-07 14:49:41 +02:00 committed by Wim Taymans
parent caebeaa9b3
commit d487dc0fc6
3 changed files with 80 additions and 25 deletions

View file

@ -126,6 +126,7 @@ struct bap_endpoint_qos {
uint32_t locations;
uint16_t supported_context;
uint16_t context;
uint32_t channel_allocation;
};
struct bap_codec_qos {