audio: Fix for pop noise issue during HPX on/off

- Pop noise is heard when hpx is turned on/off
- Pop is heard as post mix commands are getting processed prior to premix
  commands in DSP due to delay of modules between premix and postmix
- Fix is to introduce fade_in after premix is on.

CRs-Fixed: 844010
Change-Id: Ibeb7ece5f8799c5119b2677e18da32df090b5ae1
This commit is contained in:
Dhanalakshmi Siddani 2015-06-03 11:44:16 +05:30 committed by Gerrit - the friendly Code Review server
parent 279916d6be
commit eb7d4cdb66
1 changed files with 1 additions and 0 deletions

View File

@ -179,6 +179,7 @@ void audio_extn_hpx_set_parameters(struct audio_device *adev,
if (adev->offload_effects_set_hpx_state != NULL)
adev->offload_effects_set_hpx_state(hpx_state);
audio_extn_dts_eagle_fade(adev, aextnmod.hpx_enabled, NULL);
/* set HPX state on device pp */
ctl = mixer_get_ctl_by_name(adev->mixer, mixer_ctl_name);
if (ctl)