Files
SDL/src/audio
Ryan C. Gordon 266ca2c933 coreaudio: Dispose of AudioQueue before waiting on the thread.
Otherwise the thread might block for a long time (more than 10 seconds!).
It's not clear to me why this happens, or why its safe to do this with a
resource that's still in use, but we have, until recently, always
disposed of the AudioQueue first, so changing back is probably okay.

Also changed the disposal to allow in-flight buffers to reach hardware;
otherwise you lose the last little bit of audio that's already been queued
but not played, which you can hear clearly in the loopwave test program.

Fixes #6377.
(cherry picked from commit e7ab581d79)
2022-10-19 20:29:24 +03:00
..
2022-01-28 20:40:19 -05:00
2022-01-28 20:40:19 -05:00
2022-01-28 20:40:19 -05:00
2022-01-28 20:40:19 -05:00
2022-01-28 20:40:19 -05:00
2022-01-28 20:40:19 -05:00
2022-01-28 20:40:19 -05:00
2022-07-08 12:15:00 +03:00
2022-01-28 20:40:19 -05:00
2022-01-28 20:40:19 -05:00
2022-03-29 14:12:37 -07:00
2022-01-28 20:40:19 -05:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00
2022-01-03 09:40:21 -08:00