mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
audio: Guard mixer path dependency fix
Change-Id: Id93d7941ae322a83488da3cea62c6eb36a6e9160
This commit is contained in:
parent
62b70f8299
commit
719630aaf6
1 changed files with 1 additions and 1 deletions
|
@ -1018,7 +1018,7 @@ int disable_snd_device(struct audio_device *adev,
|
|||
update_mixer = true;
|
||||
#endif /* DSP_POWEROFF_DELAY */
|
||||
audio_route_reset_path(mixer_card->audio_route, snd_device_name);
|
||||
if (out_uc_info != NULL) {
|
||||
if (snd_device > SND_DEVICE_IN_BEGIN && out_uc_info != NULL) {
|
||||
/*
|
||||
* Cycle the rx device to eliminate routing conflicts.
|
||||
* This prevents issues when an input route shares mixer controls with an output
|
||||
|
|
Loading…
Reference in a new issue