News for hackers. Stuff that matters.
Re:PulseAudio requirement breaks Firefox on ALSA-only systems by problems on Wednesday March 15, 2017 @04:48PM (#13879629)
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.

There are no comments on this comment yet.