On Wed, Jan 25, 2012 at 05:07:29PM +0000, Liam Girdwood wrote:
On Tue, 2012-01-24 at 13:36 -0800, Pierre-Louis Bossart wrote:
We could eventually remove steps 2 and 4 for the FE DAI link, and look at hard coding the hw_params() in the mach driver for the loopback link.
That's what the CODEC<->CODEC stuff is all about, hiding the link from userspace.
That way the only user space driven actions would be to configure the mixers in the CODEC and DSP for the correct route. DAPM would then detect the path and Dynamic PCM would use the hard coded configuration or bespoke mach driver logic to configure the loopback DAI link based on use case. This would have to be done after the basic Dynamic PCM infrastructure was upstream though (unless you have a patch atm).
I've sort of got one, tidying it up and pushing it out keeps on being very near the top of my list but I've never actually got it looking nice enough for me to actually want to send it out.