Here's what I want to do.  I'm beginning to thing it isn't possible.

I am working with a single card with two stereo outputs, type cs46xx (Turtle
Beach Santa Cruz).  I have the "front" speaker output going to a couple of
cheap monitor-mounted speakers and the "rear" speakers going to a nice amp
and a couple of JBL studio monitors for quality listening.  All my gnome
event sounds (over which I have no alsa control) go to the front speakers,
and I can route xmms, xmcd and apps such as ecasound to the good-quality
sound system plugged in to the rear speaker jack.

The main speakers (good quality) are defined with:

pcm.main {
   type hw
   card 0
   device 1
}

... and the front speakers for beeps, bops and squawks are defined with:

pcm.lcd  {
   type hw
   card 0
   device 0
}


The control interface for the front speakers is 'PCM',0, can be assigned to
an alsa ctl with:

ctl.main {
   type hw
   card 0
}

... but I can find no way to link level control for the rear speakers
defined in amxer as 'PCM',1 and 'Surround'1 with a ctl spec since there is
no provision in the asoundrc syntax for defining a control device other than
the 1st one.  xmms allows me to define the "Surround" device as the mixer
control to link with the app's volume, but xmcd want's an alsa spec as
defined in ~/.asoundrc for the control (env var MIXERDEV).

Can anyone help me here, or is what I'm trying to do impossible?  One of two
things would be acceptable.

*  If I could find some way to route gnome sounds to hw:0,1 then I could
   swap channels and all would be OK, since I don't really need a per-app 
   volume control for gnome event sounds other than the gnome alsa mixer.

*  If I could find a way to attach the level control for hw:0,1 to a ctl
   interface then I could leave things as they are and define MIXERDEV to
   this in the xmcd invocation.

-- 
Lindsay Haisley       | "Everything works    |     PGP public key
FMP Computer Services |       if you let it" |      available at
512-259-1190          |    (The Roadie)      | <http://www.fmp.com/pubkeys>
http://www.fmp.com    |                      |


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to