From 6bc8ab18dcdcd68143db6e1e6a770d773cedcdc0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 11 Dec 2020 15:13:59 +0100 Subject: [PATCH] bluez5: aptx wants S24 input sample format --- spa/plugins/bluez5/a2dp-codec-aptx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/plugins/bluez5/a2dp-codec-aptx.c b/spa/plugins/bluez5/a2dp-codec-aptx.c index dbbec11f1..3401d24be 100644 --- a/spa/plugins/bluez5/a2dp-codec-aptx.c +++ b/spa/plugins/bluez5/a2dp-codec-aptx.c @@ -219,7 +219,7 @@ static void *codec_init(const struct a2dp_codec *codec, uint32_t flags, if (info->media_type != SPA_MEDIA_TYPE_audio || info->media_subtype != SPA_MEDIA_SUBTYPE_raw || - info->info.raw.format != SPA_AUDIO_FORMAT_S16) { + info->info.raw.format != SPA_AUDIO_FORMAT_S24) { res = -EINVAL; goto error; }