Multiple codecs of the same type on the same card

Ricard Wanderlof ricardw at axis.com
Fri Feb 18 11:16:42 CET 2022


On Wed, 16 Feb 2022, Ricard Wanderlöf wrote:

> When adding codecs to a card, all the controls of each individual codec
> are visible as controls for the complete card. But how does one handle the
> case of multiple codecs of the same type, for instance two identical
> codecs being used in TDM mode to create a multi channel card? Is there
> some method for resolving the fact that the control names naturally
> conflict?

After not too much digging, I found the sound-name-prefix property which 
when added to the actual codec device node resolves this issue.

However, I'm still failing to get the following configuration to work: 

I've got two stereo codecs connected to the same DAI, in order to provide
4 channel operation. Is this something that should be possible to 
configure using simple-card, or do I need to write my own machine driver? 
As I understand, the configuration as such is supported by ALSA since a 
while back.

/Ricard
-- 
Ricard Wolf Wanderlof                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30


More information about the Alsa-devel mailing list