From 3a1e9ef7e59e13b8dc981891ac827deeb88db4dd Mon Sep 17 00:00:00 2001 From: Seungbae Shin Date: Fri, 14 Jan 2022 14:09:20 +0900 Subject: [PATCH] bluetooth: Fix crash by excluding sbc_xq end-points Tizen supports basic sbc end-point only Change-Id: I3237f3fdca89612f15d0e71f77302e331f4a0ba6 --- src/modules/bluetooth/a2dp-codec-util.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/bluetooth/a2dp-codec-util.c b/src/modules/bluetooth/a2dp-codec-util.c index 7db0251..f28e3a9 100644 --- a/src/modules/bluetooth/a2dp-codec-util.c +++ b/src/modules/bluetooth/a2dp-codec-util.c @@ -66,9 +66,11 @@ static const pa_a2dp_endpoint_conf *pa_a2dp_endpoint_configurations[] = { &pa_a2dp_endpoint_conf_aptx, #endif &pa_a2dp_endpoint_conf_sbc, +#ifndef __TIZEN_BT__ &pa_a2dp_endpoint_conf_sbc_xq_453, &pa_a2dp_endpoint_conf_sbc_xq_512, &pa_a2dp_endpoint_conf_sbc_xq_552, +#endif }; unsigned int pa_bluetooth_a2dp_endpoint_conf_count(void) { -- 2.7.4