From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: problems with the mixer Date: Wed, 19 May 2004 12:26:42 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <20040508143705.GA7511@sture.lysator.liu.se> <20040514180509.GA18636@sture.lysator.liu.se> <20040518152453.GA18442@sture.lysator.liu.se> <20040518221358.GA19254@sture.lysator.liu.se> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20040518221358.GA19254@sture.lysator.liu.se> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Aner Gusic Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Wed, 19 May 2004 00:13:58 +0200, Aner Gusic wrote: >=20 > * Takashi Iwai : >=20 > > doesn't it work like below? > >=20 > > % aplay -Dfront some-2ch.wav > > % aplay -Drear some-2ch.wav >=20 > You missunderstood me, I want to use one player to play regular mp3's > and be able to hear it on both front and rear speakers. Even if I > could sync that thing above it would be a very ugly solution to my > problem.=20 >=20 > S=E5, "aplay some-2ch.wav" works fine, except for the fact that rear > volume is initialized to 0. I can get some other routing channels > with a swich so rear volume isn't used, but then rear and front volume > aren't independent (se my first mail for details) :/ . ok, then you need something similar like below: pcm.dup4ch { type hooks slave.pcm { type hw card 0 device 0 } hooks.0 { type ctl_elems hook_args [ { name "Rear Path" preserve true value true } { name "PCM Reverb Playback Volume" index { @func private_pcm_subdevice } preserve true value 127 } ] } }=09 then run "aplay -Ddup4ch some-2ch.wav" Takashi ------------------------------------------------------- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click