mozilla / cubeb

Cross platform audio library
ISC License
434 stars 123 forks source link

Invalidate timing info buffers when destorying AAudio stream. #784

Closed jhlin closed 2 months ago

jhlin commented 2 months ago

aaudio_stream_get_position() returns incorrect result because aaudio_stream_init() recycled destroyed stream where the timing_info buffers contain stale data.

jhlin commented 2 months ago

This is to fix Fenix bug 1872354