We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66e6095 commit 9639d2dCopy full SHA for 9639d2d
qcom-caf/audio/hal/audio_extn/a2dp.c
@@ -1354,7 +1354,7 @@ static bool a2dp_set_backend_cfg(uint8_t direction)
1354
*/
1355
if (((a2dp.bt_encoder_format == CODEC_TYPE_LDAC) ||
1356
(a2dp.bt_decoder_format == CODEC_TYPE_SBC) ||
1357
- (a2dp.bt_decoder_format == AUDIO_FORMAT_AAC) ||
+ (a2dp.bt_decoder_format == CODEC_TYPE_AAC) ||
1358
(a2dp.bt_encoder_format == CODEC_TYPE_APTX_AD)) &&
1359
(sampling_rate == 48000 || sampling_rate == 44100 )) {
1360
sampling_rate = sampling_rate *2;
0 commit comments