Debian Codegraph @

doc/README-pcm-oss

raw
1 OSS <--> ALSA PCM plugin
2 ========================
3
4 This plugin converts the ALSA API over OSS API. With this plugin,
5 ALSA native apps can run on OSS drivers.
6
7 This plugin provides the PCM type "oss". The typical configuration
8 looks like below:
9
10 pcm.oss {
11 type oss
12 device /dev/dsp
13 }
14
15 Put the above to ~/.asoundrc (or /etc/asound.conf), and use "oss" PCM
16 with your ALSA apps. For example,
17
18 % aplay -Doss foo.wav
19
20 For playing arbitrary formats, you should use "plug" layer together,
21
22 % aplay -Dplug:oss foo.wav
23
24 The oss plugin can have an option: device. This specifies the device
25 file path of OSS to open. If not given, /dev/dsp is used.
26
27 The function supported by this plugin is limited. For example, you
28 cannot use dmix together with this plugin. Don't expect too much :)
29
30 The plugin is installed in /usr/lib/alsa-lib directory as default,
31 which is the default search path of additional plugins for alsa-lib.
32 On a 64bit system like x86-64, the proper prefix option (typically,
33 --prefix=/usr/lib64) must be given to configure script.