Loading hal/audio_extn/a2dp.c +14 −13 Original line number Diff line number Diff line Loading @@ -1182,7 +1182,7 @@ static bool a2dp_set_backend_cfg(uint8_t direction) rate_str = SPEECH_TX_SAMPLE_RATE; else rate_str = ABR_TX_SAMPLE_RATE; } ALOGD("%s: set backend tx sample rate = %s", __func__, rate_str); ctl_sample_rate = mixer_get_ctl_by_name(a2dp.adev->mixer, MIXER_SOURCE_SAMPLE_RATE_TX); Loading @@ -1198,6 +1198,7 @@ static bool a2dp_set_backend_cfg(uint8_t direction) goto fail; } } } } else { /* Fallback to legacy approch if MIXER_SAMPLE_RATE_RX and MIXER_SAMPLE_RATE_TX is not supported */ Loading Loading
hal/audio_extn/a2dp.c +14 −13 Original line number Diff line number Diff line Loading @@ -1182,7 +1182,7 @@ static bool a2dp_set_backend_cfg(uint8_t direction) rate_str = SPEECH_TX_SAMPLE_RATE; else rate_str = ABR_TX_SAMPLE_RATE; } ALOGD("%s: set backend tx sample rate = %s", __func__, rate_str); ctl_sample_rate = mixer_get_ctl_by_name(a2dp.adev->mixer, MIXER_SOURCE_SAMPLE_RATE_TX); Loading @@ -1198,6 +1198,7 @@ static bool a2dp_set_backend_cfg(uint8_t direction) goto fail; } } } } else { /* Fallback to legacy approch if MIXER_SAMPLE_RATE_RX and MIXER_SAMPLE_RATE_TX is not supported */ Loading