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

Skip to content
Commit 159056dd authored by jiabin's avatar jiabin
Browse files

Do not set stream state as STOPPED when stream EOS is pending.

When doing offload streaming, clients can set offload end of stream to
indicate all data for current track is sent. The underlying AudioTrack
will be stopped to wait all data being played. When all written data is
played, the stream will automatically resume. That will only happen when
the stream is at STOPPING state and not STOPPED state. When receiving
the callback for offload stream end, the state can be set as STOPPED if
the client is not waiting for offload stream end.

Bug: 385218875
Test: atest AAudioTests
Flag: EXEMPT bugfix
Change-Id: I6bc2cc8c44a1ab8240e4b9c37074372077158d03
parent f3866be3
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