User:AngryGopher/Drafts/Sndio

Sndio is a small audio and MIDI framework part of the OpenBSD project and ported to FreeBSD, Linux and NetBSD. It provides a lightweight audio & MIDI server and a fully documented user-space API to access either the server or the hardware directly in a uniform way.

Configuration
Sndio should work out of the box on systems with only one audio device, further configuration can be achieved by passing arguments to the sndio daemon.

Configuration via OpenRC
Below is an example of passing arguments to the sndio daemon when using OpenRC.

Mpd requires software mixing for audio volume control when using sndio, this can be enabled by appending the following the audio_output section of the mpd configuration

Sndio also requires extra configuration when used with multiple users, as is often the case with mpd {...}