Blame doc/README-pcm-oss

Packit 675970
OSS <--> ALSA PCM plugin
Packit 675970
========================
Packit 675970
Packit 675970
This plugin converts the ALSA API over OSS API.  With this plugin,
Packit 675970
ALSA native apps can run on OSS drivers.
Packit 675970
Packit 675970
This plugin provides the PCM type "oss".  The typical configuration
Packit 675970
looks like below:
Packit 675970
Packit 675970
	pcm.oss {
Packit 675970
		type oss
Packit 675970
		device /dev/dsp
Packit 675970
	}
Packit 675970
Packit 675970
Put the above to ~/.asoundrc (or /etc/asound.conf), and use "oss" PCM
Packit 675970
with your ALSA apps.  For example,
Packit 675970
Packit 675970
	% aplay -Doss foo.wav
Packit 675970
Packit 675970
For playing arbitrary formats, you should use "plug" layer together,
Packit 675970
Packit 675970
	% aplay -Dplug:oss foo.wav
Packit 675970
Packit 675970
The oss plugin can have an option: device.  This specifies the device
Packit 675970
file path of OSS to open.  If not given, /dev/dsp is used.
Packit 675970
Packit 675970
The function supported by this plugin is limited.  For example, you
Packit 675970
cannot use dmix together with this plugin.  Don't expect too much :)
Packit 675970
Packit 675970
The plugin is installed in /usr/lib/alsa-lib directory as default,
Packit 675970
which is the default search path of additional plugins for alsa-lib.
Packit 675970
On a 64bit system like x86-64, the proper prefix option (typically,
Packit 675970
--prefix=/usr/lib64) must be given to configure script.