Lindsay Haisley wrote:
> 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.

A control 'device' is a set of all controls for an entire card.

> 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).

That is, xmcd always uses mixer element "PCM",0 and assumes that this
is the stream it's playing to?  Complain to the author of xmcd ... :-(

> 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.

I guess gnome uses an OSS device like /dev/dsp.

ALSA's hw:0,0 is OSS device /dev/dsp0.
ALSA's hw:0,1 is OSS device /dev/adsp0.
/dev/dsp usually is a symlink to /dev/dsp0.

Either tell gnome to use /dev/adsp0 (there must be a configuration
setting somewhere), or try to change /dev/dsp:
  rm /dev/dsp
  ln -s /dev/adsp0 /dev/dsp


HTH
Clemens




-------------------------------------------------------
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