From 878dd7a0c99b61eef0ee75a727250d497482f1b5 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 9 Nov 2025 01:47:17 +0200 Subject: [PATCH] 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 --- spa/plugins/bluez5/bluez5-dbus.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spa/plugins/bluez5/bluez5-dbus.c b/spa/plugins/bluez5/bluez5-dbus.c index e6c62564e..7e37b69f2 100644 --- a/spa/plugins/bluez5/bluez5-dbus.c +++ b/spa/plugins/bluez5/bluez5-dbus.c @@ -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);