diff options
-rw-r--r-- | hal/msm8916/platform.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hal/msm8916/platform.c b/hal/msm8916/platform.c index 5b549923..7d147dba 100644 --- a/hal/msm8916/platform.c +++ b/hal/msm8916/platform.c @@ -2585,9 +2585,9 @@ bool platform_check_codec_backend_cfg(struct audio_device* adev, } } } + *new_bit_width = best_bw; + *new_sample_rate = best_sr; } - *new_bit_width = best_bw; - *new_sample_rate = best_sr; // Force routing if the expected bitwdith or samplerate // is not same as current backend comfiguration |