1AOSS(1) General Commands Manual AOSS(1)
2
3
4
6 aoss - Wrapper script to facilitate use of the ALSA OSS compatibility
7 library.
8
10 aoss [-32] osscommand [arguments]
11
12
14 aoss is a simple wrapper script which facilitates the use of the ALSA
15 OSS compatibility library. It just sets the appropriate LD_PRELOAD path
16 and then runs the command.
17
18 This is useful in cases where routing settings (which can be made in
19 your .asoundrc file) need to be applied to commands that use the OSS
20 API.
21
22 Examples of asoundrc configuration:
23
24 pcm.dsp0 { type plug slave.pcm "hw:0,0" }
25
26 or
27
28 pcm.dsp0 { type plug slave.pcm "dmix" }
29
30 In the above configuration examples, the pcm.dsp0 definition is used to
31 wrap calls do /dev/dsp0. You can also wrap usage of /dev/dsp1,
32 /dev/dsp2, etc. by defining pcm.dsp1, pcm.dsp2, etc..
33
34 The PCM name to open can be given explicitly via ALSA_OSS_PCM_DEVICE
35 environment variable, too. This overrides the default dsp0, etc.
36
37 Note on mmap: aoss mmap support might be buggy. Your results may vary
38 when trying to use an application that uses mmap'ing to access the OSS
39 device files.
40
41
42
43 Arguments
44 32 Use 32-bit alsa-oss library (on 64-bit systems) osscommand A
45 command that uses the OSS API
46
47 arguments
48 The appropriate arguments and options for the OSS command.
49
50
51
52 AUTHORS
53 The OSS compatibility library is by Abramo Bagnara
54 <abramo@alsa-project.org>. The aoss script and this document
55 are by James Tappin <james@xena.uklinux.net>.
56
57
58
59 3 October 2001 AOSS(1)