From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Playing Surround Sound with Alsa Drivers Date: Tue, 07 Jan 2003 10:58:37 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <1041290061.19439.4.camel@TBird.home.net> <3E1384CD.9050302@cucumelo.org> <1041466757.11948.4.camel@TBird.home.net> <3E140928.3070200@cucumelo.org> Mime-Version: 1.0 (generated by SEMI 1.14.4 - "Hosorogi") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <3E140928.3070200@cucumelo.org> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Benny Sjostrand Cc: Miguel Pastor , Alsa Dev Mail List List-Id: alsa-devel@alsa-project.org At Thu, 02 Jan 2003 10:40:56 +0100, Benny Sjostrand wrote: > > > > > > >Actually the drive that I use to send sound to the rears speakers is > >"h:0,1" not "h:1,0". That's because the rear speakers controller is just > >a subdevice of my first and only sound card. That works with no problems > >sending sound only to the rear speakers but not to the four speakers. > >I'm looking for a way to create surround sound using the four speakers. > >There must be a way. Help please! > > > > > > > Oops! sorry for my misstake, I mean hw:0,0 -> front speakers and > hw:0,1-> rear speakers (assuming that you got only one soundcard > installed). In such way it's possible to control each speaker > independently, programs like xine can take advantage of this. > > Then, whatever you want to do is just a software issue. It's not > possible to send the same output to front and rear just via a simple > "aplay ...", maybe it's possible to do magic via the .asoundrc stuff > crearting a virtual device, but I dont know how to do that. the latest alsa-lib cvs tree already includes the definition for cs46xx. you'll be able to play a 4-channel wav file like % aplay -Dsurround40 4channels.wav Takashi ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com