From: Lars-Peter Clausen <lars@metafoo.de>
To: Vinod Koul <vinod.koul@intel.com>
Cc: alsa-devel@alsa-project.org, misael.lopez@ti.com,
Mark Brown <broonie@kernel.org>,
lgirdwood@gmail.com, Benoit Cousson <bcousson@baylibre.com>
Subject: Re: [PATCH v4 6/8] ASoC: compress: Add support for DAI multicodec
Date: Thu, 03 Jul 2014 20:23:16 +0200 [thread overview]
Message-ID: <53B59F94.6040803@metafoo.de> (raw)
In-Reply-To: <20140703161517.GQ2296@intel.com>
On 07/03/2014 06:15 PM, Vinod Koul wrote:
> On Thu, Jul 03, 2014 at 01:18:46PM +0100, Mark Brown wrote:
>>> BUT Now thinking over this again, does this make sense do do with multiple
>>> codecs??
>>
>>> For folks haveing decoders in DSP inside SoC, the compressed device will be
>>> actually a FE. The BE will be PCM to which codec would be linked. The folks
>>> supporting decoders inside codec like WM wont ever need this.
>>
>>> Mark, do you agree to this?
>>
>>> So re-thinking again on why we need this??
>>
>> The use case tends to be for applications that have one device per
>> physical output. This isn't normally mobile, it's normally high
>> performance audio applications where people are doing things to try to
>> electrically isolate the analogue outputs or dealing with high power so
>> need to keep speaker outputs physically separate. I can imagine set top
>> box type applications (which do use offloaded media decode) doing this.
>
> Not sure if I follow you, I have no idea of how these systems work.
>
> But if sound card has compressed device it would need to represent using DPCM as
> we don't know the decoder PCM output. The multiple codecs would then connect to
> the PCM BE.
> So on Compressed FE, we wont have multiple codecs.
>
> For codecs, the compressed audio will go to one codec, multiple ones wont make
> sense.
>
> So how can we have a situation where we have compressed device linked to
> multiple codecs?
>
If the assumption is that a DAI link that has a compressed DAI on the CPU side
is never connected to a 'real' CODEC (or multiple CODECS) on the CODEC side. I
think we can just leave soc-compress.c alone and just add a sanity check to
make sure that num_codecs is always 1.
- Lars
next prev parent reply other threads:[~2014-07-03 18:24 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-01 7:47 [PATCH v4 0/8] ASoC: core: Add support for DAI multicodec Benoit Cousson
2014-07-01 7:47 ` [PATCH v4 1/8] ASoC: core: Change soc_link_dai_widgets signature for multiple codecs Benoit Cousson
2014-07-01 17:17 ` Mark Brown
2014-07-04 16:13 ` Benoit Cousson
2014-07-04 16:51 ` Mark Brown
2014-07-01 7:47 ` [PATCH v4 2/8] ASoC: pcm: Refactor soc_pcm_apply_msb for multicodecs Benoit Cousson
2014-07-01 17:20 ` Mark Brown
2014-07-01 17:31 ` Benoit Cousson
2014-07-01 7:47 ` [PATCH v4 3/8] ASoC: core: Add initial support for DAI multicodec Benoit Cousson
2014-07-01 13:19 ` Lars-Peter Clausen
2014-07-01 17:27 ` Benoit Cousson
2014-07-01 7:47 ` [PATCH v4 4/8] ASoC: pcm: Add " Benoit Cousson
2014-07-01 13:32 ` Lars-Peter Clausen
2014-07-01 7:47 ` [PATCH v4 5/8] ASoC: dapm: " Benoit Cousson
2014-07-01 13:40 ` Lars-Peter Clausen
2014-07-01 7:47 ` [PATCH v4 6/8] ASoC: compress: " Benoit Cousson
2014-07-01 13:49 ` Lars-Peter Clausen
2014-07-01 16:25 ` Vinod Koul
2014-07-01 16:42 ` Lars-Peter Clausen
2014-07-01 16:45 ` Vinod Koul
2014-07-01 17:32 ` Benoit Cousson
2014-07-01 16:41 ` Vinod Koul
2014-07-01 17:41 ` Mark Brown
2014-07-03 6:39 ` Vinod Koul
2014-07-02 12:53 ` Benoit Cousson
2014-07-03 6:41 ` Vinod Koul
2014-07-03 11:09 ` Benoit Cousson
2014-07-03 11:16 ` Mark Brown
2014-07-03 11:20 ` Lars-Peter Clausen
2014-07-03 11:39 ` Benoit Cousson
2014-07-03 11:43 ` Lars-Peter Clausen
2014-07-03 11:46 ` Benoit Cousson
2014-07-03 12:06 ` Vinod Koul
2014-07-03 12:18 ` Mark Brown
2014-07-03 16:15 ` Vinod Koul
2014-07-03 18:23 ` Lars-Peter Clausen [this message]
2014-07-04 13:55 ` Benoit Cousson
2014-07-03 18:38 ` Mark Brown
2014-07-03 19:09 ` Pierre-Louis Bossart
2014-07-01 7:48 ` [PATCH v4 7/8] ASoC: pcm: Add soc_dai_hw_params helper Benoit Cousson
2014-07-01 13:43 ` Lars-Peter Clausen
2014-07-01 7:48 ` [PATCH v4 8/8] ASoC: core: Add a warning for link_dai_widget in the multicodec case Benoit Cousson
2014-07-01 13:41 ` Lars-Peter Clausen
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=53B59F94.6040803@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=bcousson@baylibre.com \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=misael.lopez@ti.com \
--cc=vinod.koul@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.