bluez5: default to FL,FR channels for BAP server

As server, it's not possible to expose all locations as supported
because BlueZ only exposes two ASE.

Default to just FL,FR
This commit is contained in:
Pauli Virtanen 2025-11-09 01:47:17 +02:00
parent 567d5181ca
commit 878dd7a0c9

View file

@ -6883,8 +6883,8 @@ static void parse_bap_locations(struct spa_bt_monitor *this, const struct spa_di
static void parse_bap_server(struct spa_bt_monitor *this, const struct spa_dict *info)
{
this->bap_sink_locations = BAP_CHANNEL_ALL;
this->bap_source_locations = BAP_CHANNEL_ALL;
this->bap_sink_locations = BAP_CHANNEL_FL | BAP_CHANNEL_FR;
this->bap_source_locations = BAP_CHANNEL_FL | BAP_CHANNEL_FR;
this->bap_sink_contexts = this->bap_sink_supported_contexts = BAP_CONTEXT_ALL;
this->bap_source_contexts = this->bap_source_supported_contexts = (BAP_CONTEXT_UNSPECIFIED | BAP_CONTEXT_CONVERSATIONAL |
BAP_CONTEXT_MEDIA | BAP_CONTEXT_GAME);