-
-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes when SDL backend requires pow2 quantum (OSS, Emscripten) #183
Comments
This sounds like an issue with SDL - when the backend has specific needs for sample period size it should override the value and trigger creation of an SDL_AudioStream to act as a buffer between the client and server. You’ll see this with both the WASAPI and PulseAudio backends. |
Confirmed, this is the issue: https://hg.libsdl.org/SDL/file/22dcbdfe45ea/src/audio/dsp/SDL_dspaudio.c#l211 This should be falling back to a nearest-power-of-two, which will trigger an SDL_AudioStream in SDL. I would report this at the SDL Bugzilla (maybe CC whoever maintains SDL for FreeBSD), this already works with other backends. |
Emscripten is affected by this as well: https://hg.libsdl.org/SDL/file/4709c1dfeabb/src/audio/emscripten/SDL_emscriptenaudio.c#l192 |
SDL issue has been filed: https://bugzilla.libsdl.org/show_bug.cgi?id=5136 |
SDL issue was moved to GitHub: libsdl-org/SDL#3685 |
Doing a bit of spring cleaning... See libsdl-org/SDL#3685 for more on this issue, on the FAudio side this is closed as NOTOURBUG. |
Regressed by a0f859c
The text was updated successfully, but these errors were encountered: