[alsa-devel] Store codec capabilites in alsa

Liam Girdwood lrg at ti.com
Fri Oct 26 12:45:47 CEST 2012


On 26/10/12 03:07, Bharath Ramachandramurthy wrote:
> Hello
> 
>  
> 
> Is there a mechanism for the codec driver to register the codec
> capabilities to the ALSA framework ? 
> 
> 

The codec DAI driver does register some of it's capabilities with the core.

 
> 
> 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.

Regards

Liam



More information about the Alsa-devel mailing list