Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d6ad09dd authored by Dhanalakshmi Siddani's avatar Dhanalakshmi Siddani
Browse files

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
parent b0c6cf32
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)