hal: enable HPX fade-in when seeking restarts offload playback
During streaming playback when DTS HPX is enabled, while seeking
the playback pauses and fadeout is triggered, so need to trigger
fadein after seek is complete and playback restarts.
Change-Id: I90ea549f403fb75ef7476f23532bcc1a60a69ba2
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 33e48c9..2bc6fe9 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -2132,6 +2132,7 @@
}
if (!out->playback_started && ret >= 0) {
compress_start(out->compr);
+ audio_extn_dts_eagle_fade(adev, true, out);
out->playback_started = 1;
out->offload_state = OFFLOAD_STATE_PLAYING;