Skip to content

Commit 3bbe3f7

Browse files
Johnnynatorbobertlo
authored andcommitted
sndio: add section about configuring OpenAL
1 parent 4144488 commit 3bbe3f7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/config/media/sndio.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,14 @@ MPV comes with sndio support, but to prevent it from using ALSA over sndio if
5555
the ALSA device is available, set the `--ao=sndio` command line option. You can
5656
also add the option to mpv's configuration file: `~/.config/mpv/mpv.conf` should
5757
contain a line specifying `ao=sndio`.
58+
59+
### OpenAL
60+
61+
libopenal comes with sndio support, but prioritizes ALSA over sndio by default.
62+
You can configure this behaviour per user in `~/.alsoftrc` or system wide in
63+
`/etc/openal/alsoft.conf` by adding the following lines:
64+
65+
```
66+
[general]
67+
drivers = sndio
68+
```

0 commit comments

Comments
 (0)