| Summary: | Delay after calling SDL_CloseAudioDevice | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Andreas <andreas.grabher> |
| Component: | audio | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | eric.t.scrivner, sezeroz |
| Version: | 2.0.6 | ||
| Hardware: | x86_64 | ||
| OS: | Mac OS X 10.9 | ||
|
Description
Andreas
2017-10-10 06:06:19 UTC
Can confirm and reproduce this issue on OS X Sierra. Also, can add that this only happens when AudioSpec.samples < 1024. At 1024 or higher, calling CloseAudioDevice is nearly instantaneous. This is fixed now, in https://hg.libsdl.org/SDL/rev/9658d3a4b03a ...if you have a chance, please test the latest in Mercurial, because we're planning to ship a 2.0.7 release very soon with this fix, and I'd like to know it solves your problem. Thanks! --ryan. Thank you, Ryan! I just compiled the latest SDL2 code and can confirm that the delay is gone. Ryan: Wow, thank you for the quick fix! Downloaded and can also confirm that this issue is no longer happening. |