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

Skip to content
Commit 0b2e5dc8 authored by Zhou Song's avatar Zhou Song
Browse files

audio_hal: increase written frames size when HAL is in SSR

Written PCM frames count is not increased when HAL stays in SSR,
it can make mismatch with the written framecount in AudioFlinger,
so rendered frames count return from AudioFlinger is not correct.
Then A/V sync will be missed since the played audio duration is
calculated by rendered frames count.

Increase the written frames count even the frames are not written
to the PCM driver during SSR.

CRs-Fixed: 791738

Change-Id: I53cfeae9294ae1f5a6466a749da90d1f8ef297cb
parent 52f8653d
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