Multiple codecs of the same type on the same card
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?
Or is this expected to be resolved in the machine driver? Currently I've been using simple-card, but perhaps this type of configuration is too advanced to be resolved for that, and a specialized machine driver is needed?
/Ricard
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
participants (1)
-
Ricard Wanderlof