diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 584a1229f..85adf3a27 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -60,7 +60,6 @@ - [ALSA](./config/media/alsa.md) - [PipeWire](./config/media/pipewire.md) - [PulseAudio](./config/media/pulseaudio.md) - - [sndio](./config/media/sndio.md) - [Bluetooth](./config/bluetooth.md) - [TeX Live](./config/texlive.md) - [External Applications](./config/external-applications.md) diff --git a/src/config/media/index.md b/src/config/media/index.md index 7ffdb491d..1080545ee 100644 --- a/src/config/media/index.md +++ b/src/config/media/index.md @@ -4,7 +4,8 @@ To setup audio on your Void Linux system you have to decide if you want to use [PulseAudio](./pulseaudio.md), [PipeWire](./pipewire.md) or just -[ALSA](./alsa.md). +[ALSA](./alsa.md). Sndio is also available, but is neither supported nor +recommended. Some applications require PulseAudio, especially closed source programs, but [PipeWire](./pipewire.md) provides a drop-in replacement for PulseAudio. diff --git a/src/config/media/sndio.md b/src/config/media/sndio.md deleted file mode 100644 index ecd6e483b..000000000 --- a/src/config/media/sndio.md +++ /dev/null @@ -1,61 +0,0 @@ -# sndio - -Install the `sndio` package and enable the -[sndiod(8)](https://man.voidlinux.org/sndiod.8) service. - -## Configuration - -The service can be configured by adding -[sndiod(8)](https://man.voidlinux.org/sndiod.8) flags to the `OPTS` variable in -the service configuration file (`/etc/sv/sndiod/conf`). - -### Default device - -[sndiod(8)](https://man.voidlinux.org/sndiod.8) uses the first ALSA device by -default. To use another ALSA device for sndio's default device `snd/0` add the -flags to use specific devices to the service configuration file. - -``` -# echo 'OPTS="-f rsnd/Speaker"' >/etc/sv/sndiod/conf -``` - -Use the `-f` flag to chooses a device by its ALSA device index or its ALSA -device name. - -## Volume control - -The master and per application volume controls are controlled with MIDI messages -by hardware or software. - -[aucatctl(1)](https://man.voidlinux.org/aucatctl.1) is a tool specific to sndio -to send MIDI control messages to the -[sndiod(8)](https://man.voidlinux.org/sndiod.8) daemon. It can be found in the -`aucatctl` package. - -## Application specific configurations - -### Firefox - -Firefox is built with sndio support and should work out of the box since version -71 if libsndio is installed and the `snd/0` device is available. - -The following `about:config` changes are required for versions prior to 71 and -should be removed when using version 71 or later: - -``` -media.cubeb.backend;sndio -media.cubeb.sandbox;false -security.sandbox.content.read_path_whitelist;/home//.sndio/cookie -security.sandbox.content.write_path_whitelist;/home//.sndio/cookie -``` - -### OpenAL - -libopenal comes with sndio support, but prioritizes ALSA over sndio by default. -You can configure this behavior per user in `~/.alsoftrc` or system wide in -`/etc/openal/alsoft.conf` by adding the following lines: - -``` -[general] -drivers = sndio -```