At Tue, 20 Nov 2001 16:34:05 +0100,
Nicolas DEVERGE wrote:
>
> Hi,
> I'm a newbie in sound and I finally installed my Terratec EWS88MT using the
> latest drivers (0.9.0beta9).
> It seems to work, when I use aplay with default parameters, I can hear sound
> on the lines 1 ans 2 of my external box.
> My question is how can I play in same time another sound file on the other
> lines (I have 8 output lines on my external box). It seems that aplay
> provides a device parameter but I don't understand how it works.
You'd better to define a new pcm device in your ~/.asoundrc file.
For example, to output via channel 6 and 7 (count from channel 0),
define as follows:
pcm.my_output {
type plug
ttable.0.6 1
ttable.1.7 1
slave.pcm {
type hw
card 0
}
}
where my_output can be named as you like.
Now you can play two-channel data through channel 6 and 7 via aplay:
% aplay -D my_output foo.wav
Similarly, when you'd like to output SPDIF on EWS88MT, use channel 8
and 9 (they are hardcoded).
For more precise info, see alsa-lib/doc/asoundrc.txt.
These pcm definitions are necessary also when you use alsa-oss
emulation lib (which is different from oss emulation module).
You can/need to define the pcm device pcm.dsp0 as well as above, so
that output from an OSS application will be routed to channel 6 and
7.
ciao,
Takashi
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user