From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ymfpci : four speakers with OSS-emulation Date: Thu, 14 Mar 2002 18:01:43 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1016112652.3c90a60c61558@imp.free.fr> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII In-Reply-To: <1016112652.3c90a60c61558@imp.free.fr> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: xavier.allamigeon@free.fr Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Thu, 14 Mar 2002 14:30:52 +0100 (MET), xavier.allamigeon@free.fr 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 Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel