From 37d78ce29ef39baefb4a3de90a9d79db9cbfac9c Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Tue, 17 Jan 2023 19:18:10 +0200 Subject: [PATCH] bluez5: disable LE Audio if using legacy bluez API --- spa/plugins/bluez5/bluez5-dbus.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/bluez5-dbus.c b/spa/plugins/bluez5/bluez5-dbus.c index bc4473a49..64d24062f 100644 --- a/spa/plugins/bluez5/bluez5-dbus.c +++ b/spa/plugins/bluez5/bluez5-dbus.c @@ -3811,7 +3811,9 @@ static int adapter_register_endpoints(struct spa_bt_adapter *a) * */ spa_log_warn(monitor->log, "Using legacy bluez5 API for A2DP - only SBC will be supported. " - "Please upgrade bluez5."); + "No LE Audio. Please upgrade bluez5."); + + monitor->le_audio_supported = false; for (i = 0; media_codecs[i]; i++) { const struct media_codec *codec = media_codecs[i];