At Thu, 14 Mar 2002 14:30:52 +0100 (MET),
[EMAIL PROTECTED] wrote:
> 
> Cool, it works with aplay ! But the .asoundrc isn't right, you have to change 
> it : 
> pcm.ch4dup {
>              type plug
>              slave.pcm surround40
>              ttable.0.0 1
>              ttable.0.1 1
>              ttable.0.2 1
>              ttable.0.3 1
>      }
> and then
> aplay -D ch4dup foo.wav will play the sound on the four speakers !!!

no, this will route only the left channel to all 4 speakers..

> Otherwise, I have tried aoss, and it doesn't work. Of course, I have added the 
> following line to the .asoundrc file
> pcm.dsp0 pcm.ch4dup
> and then I have tried "aoss tuxracer", and there was no sound in the game. 
> But I use the CVS version of alsa-OSS, so maybe there is a bug, I don't know.

if the application needs mmap, this doesn't work.
i'm not sure whether tux racer requires oss mmap, though.

> Furthermore, why pcm.dsp0 and not pcm.dsp1 or pcm.dsp2 ?

because as default /dev/dsp is mapped /dev/dsp0.
/dev/dsp1 and dsp2 are for the second and third card.


Takashi

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to