3 ms·
In this case it's just behind a use flag, but regardless it seems to me like this could be fixed with a relatively simple wrapping library. SDL for example sup
by problems 10y ago
In this case it's just behind a use flag, but regardless it seems to me like this could be fixed with a relatively simple wrapping library.
SDL for example supports outputting to OSS, ALSA, PulseAudio, ESD and with a patch, JACK. What you want to output to can be easily configured at runtime. You as a developer write the least code possible and only have to do the job once, your users get the benefit of picking any output system they please.
I believe Gstreamer offers a similar system too which Mozilla already uses for video decoding on Linux.
Additionally the same code can be used across other platforms entirely, not just Linux.