bluetooth: Fix crash by excluding sbc_xq end-points 22/269422/3
authorSeungbae Shin <seungbae.shin@samsung.com>
Fri, 14 Jan 2022 05:09:20 +0000 (14:09 +0900)
committerSeungbae Shin <seungbae.shin@samsung.com>
Mon, 24 Jan 2022 03:46:15 +0000 (03:46 +0000)
Tizen supports basic sbc end-point only

Change-Id: I3237f3fdca89612f15d0e71f77302e331f4a0ba6

src/modules/bluetooth/a2dp-codec-util.c

index 7db0251..f28e3a9 100644 (file)
@@ -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) {