You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several extensions from OpenAL Soft that are totally reasonable to support. Go through the list at that link and see what we can plug in here trivially.
Things we likely can't handle, or would take a lot of work, needs external dependencies or complex data formats, needs things SDL doesn't provide, or would simply be difficult to do reasonably in a single-file OpenAL implementation:
I made an attempt at this, and added tests/testcallbackbuffer.c to try it out, but please try it with your own code and report back if I messed something up!
Thank you, I'm not in a position to test it, my request was that so DragonRuby could make the callback public to C extensions so I could use it as a sink to my emulator's audio.
Activity
icculus commentedon Jun 1, 2025
Things we can probably handle:
Things we can maybe handle:
Might be doable, but could be painful:
Things we likely can't handle, or would take a lot of work, needs external dependencies or complex data formats, needs things SDL doesn't provide, or would simply be difficult to do reasonably in a single-file OpenAL implementation:
extensions: Added AL_EXT_32bit_formats.
extensions: Implemented ALC_EXT_thread_local_context.
extensions: Implemented AL_EXT_source_distance_model.
leiradel commentedon Oct 22, 2025
+1 to
AL_SOFT_callback_buffer, as it allows user code to correctly synchronize real-time audio and video.MIvanchev commentedon Apr 19, 2026
I am too voting for
AL_SOFT_callback_buffer, with SDL3 it shouldn't even be that much work I guess.extensions: Implemented AL_SOFT_callback_buffer.
icculus commentedon Apr 22, 2026
Your wish is my command! :)
I made an attempt at this, and added tests/testcallbackbuffer.c to try it out, but please try it with your own code and report back if I messed something up!
MIvanchev commentedon Apr 23, 2026
Thank you so much!
leiradel commentedon Apr 24, 2026
Thank you, I'm not in a position to test it, my request was that so DragonRuby could make the callback public to C extensions so I could use it as a sink to my emulator's audio.