Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Alexandre BOUIN <a.bouin@kerlink.fr>
Cc: alsa-devel@alsa-project.org
Subject: Re: ASoC - Output widgets
Date: Sat, 23 Feb 2008 15:57:59 +0000	[thread overview]
Message-ID: <20080223155758.GA7454@sirena.org.uk> (raw)

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.

             reply	other threads:[~2008-02-23 15:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-23 15:57 Mark Brown [this message]
2008-02-25  9:39 ` ASoC - Output widgets Alexandre BOUIN
  -- strict thread matches above, loose matches on Subject: below --
2008-02-26 11:07 Mark Brown
2008-02-25 13:34 Mark Brown
2008-02-26  9:11 ` Alexandre BOUIN
2008-02-22 16:39 Alexandre BOUIN

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080223155758.GA7454@sirena.org.uk \
    --to=broonie@opensource.wolfsonmicro.com \
    --cc=a.bouin@kerlink.fr \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox