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

Skip to content
Commit d23bf389 authored by Zhou Song's avatar Zhou Song Committed by Gerrit - the friendly Code Review server
Browse files

ahal: fix invalid pcm offload position when SSR happens

When SSR happens, postion queried from DSP could be invalid,
instead, frames written could be returned as current position.
Also cache the current position as compensation, when sound
card is online, return current DSP position plus the compensation.

Change-Id: Iff1b1ae9e5217f384d6ae0460b3acee5f8881aa5
parent d7676cfd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment