News for hackers. Stuff that matters.
Re:Sndio: a small audio and MIDI framework part of the OpenB... by brynet on Sunday March 04, 2018 @11:35PM (#16518744)
On Linux, this is implemented on top of ALSA, which is the native Linux kernel sound API.
Re:Sndio: a small audio and MIDI framework part of the OpenB... by rushsteve1 on Sunday March 04, 2018 @11:51PM (#16518811)
So then would sndio be the OpenBSD native sound API?
Re:Sndio: a small audio and MIDI framework part of the OpenB... by ratchov on Monday March 05, 2018 @05:25AM (#16520067)
Basically, on OpenBSD, audio functionality was partially moved from kernel to user space, it was extended and called sndio. From this standpoint it's the OpenBSD native audio API. The remaining kernel audio(4) and midi(4) APIs are internal interfaces used by sndio to get access to the bare hardware; they are too limited to be useful to typical programs.
Re:Sndio: a small audio and MIDI framework part of the OpenB... by brynet on Sunday March 04, 2018 @11:53PM (#16518819)
For the sake of easier application software, yes. sndio is the higher level of abstraction. There is a lower level API, audio/mixer/midi(4), but they exist as only ioctl(2) calls.