Commits on Source (4)
-
The doc says : "Pausing a stream will freeze the data flow but not flush any buffers". So I guess this is false for some devices like the Galaxy S22 Ultra (API level 31): the data callback can still be called when paused. This was resulting on use-after-free or latency gap.
4b8fd6c6 -
Instead of asserting it. There might some (very small) imprecision with `AAudioStream_getTimestamp` when starting the stream.
4411fe1b -
07bbc7ba
-
`AAudioStream_getTimestamp` can fail and we should log it since it's quite critical (no A/V sync in such case). (Yes, it can happen and I don't have the solution yet)
a2a38785