[alsa-devel] ASoC: Dynamic CODEC DAI
plai at codeaurora.org
Mon Dec 5 08:22:22 CET 2011
On 12/2/2011 2:11 AM, Liam Girdwood wrote:
> Fwiw, I'm looking at a similar channel mapping problem here for dyanmic
> PCM and have the start of some working code. Basically I want to be able
> to specify which channels from each PCM device are routed through each
> DAI and DAPM widget.
Would you mind sharing the use case you have in mind? It is not clear
to me how your design proposal correlate to the problem I have in hand.
It looks to me that you are trying to address shuffling of pcm channels
correct me if I am wrong. For example, 5.1 content is composed with
certain speaker allocation in mind but the actual speaker allocation is
different. So, through the approach you are proposing, software can
rearrange the pcm channels according to actual speaker allocation.
My problem has more to do with ability to form PCM device at run-time
by grouping available slimbus ports at the CPU side and CODEC side
after knowing number of channels required. Furthermore, the CODEC I am
working on does not allow all mic inputs going to all audio interface
capture ports. Unless application can provide the mic input it is
interested before initiation of capture stream, it is hard to utilize
very slimbus port on the CODEC. Do you have work in progress code on
gitorious.org? Perhaps, I can take a look to understand more about your
proposed design and see what I can leverage.
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
More information about the Alsa-devel