Re: ASoC - Output widgets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 22, 2008 at 05:39:54PM +0100, Alexandre BOUIN wrote:

> Using ASoC layer, I'd like to perform this example behaviour with my widgets
> : 
>  - 1 output mixer MIXOUT is connected to 2 outputs OUT1 and OUT2
>  - OUT1 and OUT2 can be powered independently
> This seems easy, but atm while one is powered, the other is powered too.

I may be misunderstanding what you're doing here but I suspect that
you need to use snd_soc_dapm_set_endpoint() to mark the outputs that are
not in use as disconnected.  If you do that then then DAPM will not
power up the relevant output path.

You can do this at any point at run time - see sound/soc/pxa/tosa.c for
an example of this.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux