From 8cdd7813ebf1940ee1a8d38e1e530c8fe8e579bb Mon Sep 17 00:00:00 2001 From: Duncan Overbruck Date: Mon, 10 Jul 2023 14:26:40 +0200 Subject: [PATCH] config/media/sndio: remove Having this documentation makes it seem like its "supported" and users install or want to use it for some reason while its pretty incomplete and only supported by a handful of programs for which some require patches that I don't think I would maintain if they ever break. --- src/SUMMARY.md | 1 - src/config/media/sndio.md | 61 --------------------------------------- 2 files changed, 62 deletions(-) delete mode 100644 src/config/media/sndio.md diff --git a/src/SUMMARY.md b/src/SUMMARY.md index 56396b19f..b69793092 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -59,7 +59,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/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 -```