summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher N. Hesse <raymanfx@gmail.com>2018-03-06 20:16:00 +0100
committerDavis Mosenkovs <davikovs@gmail.com>2018-03-06 23:22:01 +0000
commitb057e8b50dbbb9e2a416b6b8fe8f05447508ca1f (patch)
treee188ee93e7bd54398bad27a58134b7200faa58e2
parent276108cd142b6cc3a8e21859b497b6605faf1b6e (diff)
downloadandroid_hardware_samsung-b057e8b50dbbb9e2a416b6b8fe8f05447508ca1f.tar.gz
android_hardware_samsung-b057e8b50dbbb9e2a416b6b8fe8f05447508ca1f.tar.bz2
android_hardware_samsung-b057e8b50dbbb9e2a416b6b8fe8f05447508ca1f.zip
audio: Update mixer knobs after re-applying output route
Change-Id: I35fbcc03e9666e579134512b443610e546c31441
-rw-r--r--audio/audio_hw.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index 621107c..5879316 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -1021,6 +1021,7 @@ int disable_snd_device(struct audio_device *adev,
*/
out_snd_device_name = get_snd_device_name(out_uc_info->out_snd_device);
audio_route_apply_path(mixer_card->audio_route, out_snd_device_name);
+ update_mixer = true;
}
if (update_mixer) {
audio_route_update_mixer(mixer_card->audio_route);