xerces8 wrote:

> From: Clemens Ladisch <[EMAIL PROTECTED]>
>
> > xerces8 wrote:
> > > Is there a way in ALSA to select the sound output of a program with an
> > > environment variable instead of command line option, like the $DISPLAY
> > > variable for graphics ?
> >
> > ALSA_PCM_CARD
> > ALSA_PCM_DEVICE
> >
> > These specify the numbers as you would use in a hw:x,y device name.
>
> But what if I want to access a non-hw target, like an alias or plugin ?

These variables are used by the "default" pcm, which is just an alias
for "plughw:x,y".

If you want to use another pcm, put into your ~/.asoundrc file a line
like this:

pcm.!default = "another"


HTH
Clemens




-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to