[alsa-devel] Store codec capabilites in alsa
plai at codeaurora.org
Mon Oct 29 02:13:08 CET 2012
On 10/26/2012 3:45 AM, Liam Girdwood wrote:
> The codec DAI driver does register some of it's capabilities with the core.
The CODEC Bharath and I are working with has hardware providing
information back to CPU so post processing modules running on CPU can
fine tune things on the CODEC continuously.
So, the information need to exposed to CPU is more than supported rates,
format, and channels but very CODEC specific.
I doubt that ASoC has mechanism for vendor's own CODEC driver to
advertise CODEC specific information. However, we would like to check
ahead of time before coming up with something on our own.
>> The BE CPU dai driver can then read the capabilities of the codec and talk
>> to the DSP.
> You should be able to do this by looking at the RTD codec->driver pointer to get supported rates, formats and channels.
> 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