Skip to content

Commit cf8bcdb

Browse files
committed
sndio: add information about alsa-sndio.
- Correct "behaviour" to en_US spelling while there.
1 parent 97beb6f commit cf8bcdb

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/config/media/sndio.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,24 @@ contain a line specifying `ao=sndio`.
5959
### OpenAL
6060

6161
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
62+
You can configure this behavior per user in `~/.alsoftrc` or system wide in
6363
`/etc/openal/alsoft.conf` by adding the following lines:
6464

6565
```
6666
[general]
6767
drivers = sndio
6868
```
69+
70+
### ALSA
71+
72+
Applications that only have an ALSA backend can still use sndio with the
73+
`alsa-sndio` package. It contains an ALSA plugin that provides a pcm that
74+
connects to a `sndiod` server, and currently only supports playback. In order to
75+
enable the pcm, add the lines below to your [ALSA configuration
76+
file](./alsa.md#configuration):
77+
78+
```
79+
pcm.!default {
80+
type sndio
81+
}
82+
```

0 commit comments

Comments
 (0)