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

Skip to content
Commit 1de7952e authored by jiabin's avatar jiabin
Browse files

Set PAUSING state when start pausing a stream.

When the stream is pausing, the data callback is already stopped. In
that case, there is not more data written by the client. The aaudio
service need to set the state as PAUSING so that it allows underflow in
the mixer. That can avoid misreporting underrun.

Bug: 336233924
Test: atest AAudioTests --instant
Change-Id: I128aa73a5c9a77eb6c5f11d0bf71b8325b1d4d0d
parent b84f40d7
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