From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: ymfpci : four speakers with OSS-emulation Date: Wed, 13 Mar 2002 15:28:13 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1016004247.3c8efe9759e25@imp.free.fr> Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Received: from Cantor.suse.de (ns.suse.de [213.95.15.193]) by alsa.alsa-project.org (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id PAA07470 for ; Wed, 13 Mar 2002 15:28:22 +0100 In-Reply-To: Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Adam K Kirchhoff Cc: xavier.allamigeon@free.fr, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org At Wed, 13 Mar 2002 08:01:02 -0500 (EST), Adam K Kirchhoff wrote: > > The solution the Jaroslav gave in that e-mail actually requires changes to > the ymfpci driver, as I understand it. Last time I pulled code from CVS, > this hadn't been done yet. From the sound of it (based on your > experience) it looks like it still hasn't been done. At the moment, I > don't really understand Alsa (or sound drivers in general) well enough to > make the change myself, nor do I really have the time to pick up that > knowledge at the moment. > > However, it's also my impression from Jaroslav's explanation that this > would simply duplicate the output from the fron channel on the rear > channel. Can someone let me know if this is correct? if you only need duplication, this can be done on alsa-lib without changing the driver itself. try to add the following in your ~/.asoundrc. pcm.ch4dup { type plug slave.pcm surround40 ttable.0.0 1 ttable.1.1 1 ttable.0.2 1 ttable.1.3 1 } then run like this % aplay -D ch4dup foo.wav To use this technique on OSS emulation, you'll need aoss wrapper (included in alsa-oss package). suppose that the application uses /dev/dsp, add the following in ~/.asoundrc. pcm.dsp0 pcm.ch4dup then run your oss application via aoss script % aoss foobar Takashi _______________________________________________ Alsa-devel mailing list Alsa-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-devel