Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Benny Sjostrand <gorm@cucumelo.org>
Cc: Miguel Pastor <MiguelPastor@adelphia.net>,
	Alsa Dev Mail List <alsa-devel@lists.sourceforge.net>
Subject: Re: Playing Surround Sound with Alsa Drivers
Date: Tue, 07 Jan 2003 10:58:37 +0100	[thread overview]
Message-ID: <s5hvg119t82.wl@alsa2.suse.de> (raw)
In-Reply-To: <3E140928.3070200@cucumelo.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

  reply	other threads:[~2003-01-07  9:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-30 23:14 Playing Surround Sound with Alsa Drivers Miguel Pastor
2003-01-02  0:16 ` Benny Sjostrand
2003-01-02  0:19   ` Miguel Pastor
2003-01-02  9:40     ` Benny Sjostrand
2003-01-07  9:58       ` Takashi Iwai [this message]
2003-01-08  2:07         ` Miguel Pastor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hvg119t82.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=MiguelPastor@adelphia.net \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=gorm@cucumelo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox