From: Qiao Zhou <zhouqiao@marvell.com>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: "tiwai@suse.de" <tiwai@suse.de>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>,
Mark Brown <broonie@kernel.org>
Subject: Re: [DAPM question] DAPM support for single input multiple outputs
Date: Mon, 9 Mar 2015 19:16:18 +0800 [thread overview]
Message-ID: <54FD8102.7020503@marvell.com> (raw)
In-Reply-To: <54FD5F9E.3080606@metafoo.de>
On 03/09/2015 04:53 PM, Lars-Peter Clausen wrote:
> On 03/09/2015 09:38 AM, Qiao Zhou wrote:
>> Hi Mark,
>>
>> I have one question and need your suggestion. Thanks in advance.
>>
>> In our DSP, one stream path is like this: There is one bit controlling
>> whether a signal A goes to A_out or B_out. That's the reverse case of
>> DAPM_MUX(multiple inputs, single output).
>>
>> One way is to use two switches but it seems not good since two switches
>> control the same bit. It's strange. Do you have any opinion about such
>> requirement support?
>
> There is currently no support for a demux. But it shouldn't be too hard to
> add one in the DAPM core, if you want to take a try at it.
>
> A demux would behave very similar to a mux, except that you'd reverse
> sources and sinks. The only thing that is a bit tricky is that we only have
> one control element per path and currently it always belongs to the sink.
> For a demux it needs to be long to the source. This means you can't have a
> mixer directly connected to the same path as a demux and the core needs to
> make sure that that doesn't happen.
I'll have a try to specially handle demux type. Thanks for the
suggestions. BTW, is there plan to add demux support?
>
> - Lars
>
--
Best Regards
Qiao
next prev parent reply other threads:[~2015-03-09 11:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-09 8:38 [DAPM question] DAPM support for single input multiple outputs Qiao Zhou
2015-03-09 8:53 ` Lars-Peter Clausen
2015-03-09 11:16 ` Qiao Zhou [this message]
2015-03-09 12:20 ` Mark Brown
2015-03-10 1:56 ` Qiao Zhou
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=54FD8102.7020503@marvell.com \
--to=zhouqiao@marvell.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lars@metafoo.de \
--cc=tiwai@suse.de \
/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