Re: Multiple codecs on the same DAI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 24, 2017 at 03:21:24PM +0100, Ricard Wanderlof wrote:

> In a sense, what I'd want would be to bring in the S/PDIF receiver as a 
> codec driver, but separate from the ordinary chain of sound drivers 
> (codec, platform, etc). I suppose one way would be to somehow (via 
> platform data or DT) pass a reference to the S/PDIF receiver to the 
> machine driver, which would then somehow convert this to a snd_soc_codec 
> *, and then have it explicitly call the the snd_soc_codec_driver.probe 
> function set up by the S/PDIF receiver driver to initialize it much the 
> way ALSA would have done if it had been part of a dai_link for card. 

You can just register any CODEC device as an aux_dev, that seems to be
exactly what you're looking for.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux