Merge "hal: apply bt-sco-wb samplerate mixer"
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index ddd4bf5..25f52d6 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -1310,6 +1310,11 @@
if (ret >= 0) {
str_parms_del(parms, AUDIO_PARAMETER_KEY_BTSCO);
my_data->btsco_sample_rate = val;
+ if (val == SAMPLE_RATE_16KHZ) {
+ audio_route_apply_path(my_data->adev->audio_route,
+ "bt-sco-wb-samplerate");
+ audio_route_update_mixer(my_data->adev->audio_route);
+ }
}
ret = str_parms_get_int(parms, AUDIO_PARAMETER_KEY_SLOWTALK, &val);