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

Commit f4bbab55 authored by jiabin's avatar jiabin
Browse files

Use at least one second for safe margin to drain.

When draining, there is not timestamp reported. The draining time is
based on the clock model, which estimates when the DSP may read all
data. It is good to have a bigger safe margin as the draining time
can be tens of seconds.

Bug: 433769515
Test: TH
Test: play offload stream, check xrun
Test: test_flush_from_frame -c2 -f2 -r48000
Flag: EXEMPT bugfix
Change-Id: Ib617050f79b9a9847601905139cecf2a5c96a665
parent d502e5b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment