Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver
From: Mark Brown
Date: Thu Apr 30 2015 - 16:12:40 EST
On Wed, Apr 22, 2015 at 11:17:20AM +0800, Koro Chen wrote:
> If using DPCM, it seems the most suitable FE DAIs will be memif, and
> external interface like I2S should be BE DAIs. Do you think it is
> suitable for our memif to be FE DAIs? Then which memif to used can be
> described in a machine driver's FE DAIs. But I think this has a problem
> that our memif is one-direction, playback or capture. So the binded pcm
> device cannot have playback and capture capability together. May it
> cause trouble for user space apps that assumes there will be pcmC0D0p,
> pcmC0D0c?
I think the only userspace application you really have to worry about
here is PulseAudio which (at least with UCM) should be able to cope
since it needs to handle things like USB microphones. I think
everything else I can think of can either cope or has to handle the same
use cases as PulseAudio does so should have support.
Attachment:
signature.asc
Description: Digital signature