ASoC: msm: qdsp6v2: write all periods to DSP on playback trigger
In mmap mode, when playback is triggered, send as much as periods to DSP. In previous implementation, only 1 period be sent to DSP at trigger time, it's consumed in DSP and then send back a write-done event, which will be captured and trigger another write action in the event_handler. The problem is, any jitter in the event transmission will result in a delay on the next write, and a gap in the output is noticeable. A multiple-periods queue in DSP can filter out such a jitter to avoid impact to the output. Change-Id: I6f04971c076409b5ada8e40cea2b4e01de88b5a9 Signed-off-by:Han Lu <hanlu@codeaurora.org> Signed-off-by:
Sitong Chen <sitochen@codeaurora.org>
Loading
Please register or sign in to comment