Bluetooth : fix aptx noise problem 12/224912/1
authorSangki Park <sangki79.park@samsung.com>
Wed, 4 Apr 2018 08:36:52 +0000 (17:36 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Fri, 14 Feb 2020 05:29:51 +0000 (14:29 +0900)
[Model] Gear
[BinType] AP
[Customer] ALL

[Issue#] Internal
[Request] N/A
[Occurrence Version] N/A

[Problem] APTX A2DP streaming noise issue
[Cause & Measure] type conver error
[Checking Method] play A2DP streaming

[Team] Basic connection
[Developer] Sangki Park
[Solution company] Samsung
[Change Type] Specification change

Change-Id: Id42856244b29b2411547a467771220a7e16f0fff

src/modules/bluetooth/module-bluez5-device.c

index 85a4755..0e2ca66 100644 (file)
@@ -621,7 +621,7 @@ static int a2dp_aptx_process_render(struct userdata *u) {
 
     int pcmL[4],pcmR[4];
     int i=0;
-    const uint8_t *mybuffer;
+    const short *mybuffer;
 
     pa_assert(u);
     pa_assert(u->profile == PA_BLUETOOTH_PROFILE_A2DP_SINK);