OSDN Git Service

bt: Fix 32k sbc_codec.sampling_rate
authorEric Meddaugh <eric@meddaughs.com>
Tue, 3 Apr 2018 11:22:52 +0000 (07:22 -0400)
committerEric Meddaugh <eric@meddaughs.com>
Tue, 3 Apr 2018 11:22:52 +0000 (07:22 -0400)
* 3200 is not 32k

Change-Id: Ie51d9f82f9de791f8cf1ffd9085c98326787133f

audio_a2dp_hw/bthost_ipc.c

index 261f3ea..0c9860b 100644 (file)
@@ -198,7 +198,7 @@ static void* a2dp_codec_parser(uint8_t *codec_cfg, audio_format_t *codec_type)
                  sbc_codec.sampling_rate = 44100;
                  break;
             case A2D_SBC_SAMP_FREQ_32:
-                 sbc_codec.sampling_rate = 3200;
+                 sbc_codec.sampling_rate = 32000;
                  break;
             case A2D_SBC_SAMP_FREQ_16:
                  sbc_codec.sampling_rate = 16000;