[alsa-devel] [PATCH v4 6/8] ASoC: compress: Add support for DAI multicodec

Vinod Koul vinod.koul at intel.com
Thu Jul 3 18:15:17 CEST 2014


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?

-- 
~Vinod
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140703/8d6fccd8/attachment.sig>


More information about the Alsa-devel mailing list