[alsa-devel] Connecting two Codecs to the same CPU DAI
zonque at gmail.com
Tue Jul 16 16:31:01 CEST 2013
Hi Mark, Liam,
I'm trying to find a sane solution for systems that have multiple Codecs
connected to the same CPU DAI. An example would be a codec that receives
the same I2S stream as a S/PDIF transceiver, and which is in fact
connected to the very same bus in hardware.
Currently, I'm setting up two DAI links in such cases, and userspace has
to open both subdevices and issue hw_params calls to each of them in
order to set up the hardware correctly.
This is cumbersome of course, and I wonder how the core could be
augmented in order to handle such cases correctly. Ideally, it should
only expose one PCM interface and handle a list of Codecs in the back.
Or am I unaware of an existing feature?
More information about the Alsa-devel