[alsa-devel] [PATCH v2] ASoC: rsnd: enable SRC setting via DT
Mark Brown
broonie at kernel.org
Tue Jul 29 20:28:16 CEST 2014
On Thu, Jul 24, 2014 at 07:08:19PM -0700, Kuninori Morimoto wrote:
> > > > 48kHz ---> 48kHz
> > > > 44.1kHz ---> [SRC] ---> [codec]
> > > > 96kHz --->
> > > This is something which really should be implemented using the
> > > frameworks (DPCM mainly in this case as previously discussed for this
> > > and other bits of the hardware) rather than with something custom to the
> > > driver - we already have a way of forcing a DAI link into a single
> > > configuration, we should be using it.
> If my understand is correct,
> current upstream code doesn't have above feature at this point,
> and, I can update DPCM feature for it ?
> If yes, and if I want to exchange rate from 96kHz -> 48kHz,
> I can use be->dai_link->be_hw_params_fixup() for 48kHz settings ?
That's the idea, yes.
> Then, FE side want to know this result (= BE want to use 48kHz).
> I can add something new method for it ?
Let's have a look at the code - it might be easier to do it within the
driver but a framework feature is also OK.
> Or does current upstream code already have something this feature ?
No, just the fixup functions.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140729/90f94092/attachment.sig>
More information about the Alsa-devel
mailing list