[alsa-devel] switching pcm devices dynamically when using dmix

Baek Chang baeksan at ccrma.stanford.edu
Mon Aug 8 18:08:49 CEST 2011


Would it be possible to implement this feature in another plugin?  For
example, some plugin called "switch", that would take a parameter for device
or card name/number that would close the current device and open the new
requested device?  Would this be worth investigating?

Thanks!

On Mon, Aug 8, 2011 at 5:40 AM, Takashi Iwai <tiwai at suse.de> wrote:

> At Wed, 3 Aug 2011 15:13:09 -0700,
> Baek Chang wrote:
> >
> > Hi,
> >
> > I'm wondering if the following is possible.
> >
> > If I have my asound.conf configured in such a way that
> >
> > pcm.media {
> >
> > }
> >
> > route to hw:0,0 throuh dmix.
> >
> > can I dynamically change the device to hw:0,1 or hw:1,0 if necessary?
>
> Not possible with the current implementation.
> For such a purpose, better to use PulseAudio.
>
>
> Takashi
>
>


-- 
-baeksanchang


More information about the Alsa-devel mailing list