4 ms·
How is sound handled on FreeBSD? Or is FreeBSD going to be required to port and ship PulseAudio?
by SysArchitect 10y ago
How is sound handled on FreeBSD? Or is FreeBSD going to be required to port and ship PulseAudio?
- Sanddancer 10y agoPulseAudio is cross-platform.. For FreeBSD in general, it uses further development of Open Sound drivers, which have things like in-driver mixing that Linux drivers under Alsa even lack.
- wott 10y ago> things like in-driver mixing that Linux drivers under Alsa even lack. Uh?
- Sanddancer 10y agoFreeBSD's sound drivers include software mixing, so that if there are multiple things that want to use a sound card, they don't block each other. Alsa's sound channels are blocking, which means that only one program at a time can use the sound device, which is what causes the entire tower atop it to form.
- digi_owl 10y agoNope, Alsa has offered dmix for years now.
- the_why_of_y 10y agoWhich is not done in the ALSA driver, but the ALSA user-space library. In contrast to that FreeBSD's OSS drivers do the mixing in kernel-space.
- digi_owl 10y agoBSDs still use OSS, afaik. Linux replaced OSS with Alsa over licensing issues.
- kasabali 10y ago> Linux replaced OSS with Alsa over licensing issues I've only done light reading on the history but I suspect it is more like linux devs used license change of OSSv4 as an excuse to satisfy their NIH syndrome. They could've continued to develop existing OSS codebase as BSD's did but they chose to write ALSA from ground with a totally different design.