Lines Matching +full:command +full:- +full:sequencer

2 Notes on Kernel OSS-Emulation
12 The OSS emulation for PCM, mixer and sequencer devices is implemented
13 as add-on kernel modules, snd-pcm-oss, snd-mixer-oss and snd-seq-oss.
14 When you need to access the OSS PCM, mixer or sequencer devices, the
18 is called. The alias is defined ``sound-service-x-y``, where x and y are
22 Only necessary step for auto-loading of OSS modules is to define the
25 alias sound-slot-0 snd-emu10k1
27 As the second card, define ``sound-slot-1`` as well.
29 ``alias sound-slot-0 snd-card-0`` doesn't work any more like the old
38 after the corresponding OSS-emulation module is loaded. Don't worry
59 Sequencer:
60 /dev/sequencer
79 snd-pcm-oss and snd-rawmidi. In the case of PCM, the following
80 options are available for snd-pcm-oss:
93 options snd-pcm-oss adsp_map=2
100 options snd-pcm-oss adsp_map=0,2
103 available for snd-rawmidi:
116 options snd-rawmidi midi_map=2
122 As default, ALSA emulates the OSS PCM with so-called plugin layer,
129 writing a command to the proc file. There is a proc file for each PCM
131 (zero-based), Y the PCM device number (zero-based), and ``p`` is for
133 exists only after snd-pcm-oss module is loaded.
135 The command sequence has the following syntax:
155 non-block
156 force non-block open mode
157 partial-frag
159 no-silence
166 conversion and useful for MMAP-applications.
168 quake, send a command via echo like the following:
173 While quake wants only playback, you may append the second command
181 sending the command above.
183 The block and non-block options are used to change the behavior of
187 the file when it's busy. The -EBUSY error is returned in this case.
190 module option of snd-pcm-oss. For using the blocking mode as default
194 options snd-pcm-oss nonblock_open=0
196 The ``partial-frag`` and ``no-silence`` commands have been added recently.
197 Both commands are for optimization use only. The former command
207 % cat /proc/asound/card0/pcm0p/oss > /somewhere/oss-cfg
212 % cat /somewhere/oss-cfg > /proc/asound/card0/pcm0p/oss
214 Also, for clearing all the current configuration, send ``erase`` command
240 SOUND_MIXER_BASS Tone Control - Bass 0
241 SOUND_MIXER_TREBLE Tone Control - Treble 0
266 The second column is the base-string of the corresponding ALSA
282 the base-string of the corresponding ALSA control, and the third the
288 send the command like the following:
293 The command is exactly as same as listed in the proc file. You can
300 sending the command above.
332 ----------------------
334 10-channels 24bit (packed in 32bit) format. Therefore you cannot mmap
335 the buffer as the conventional (mono or 2-channels, 8 or 16bit) format