From: Christopher N. Hesse Date: Tue, 6 Mar 2018 19:16:00 +0000 (+0100) Subject: audio: Update mixer knobs after re-applying output route X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b057e8b50dbbb9e2a416b6b8fe8f05447508ca1f;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung.git audio: Update mixer knobs after re-applying output route Change-Id: I35fbcc03e9666e579134512b443610e546c31441 --- 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);