On Wed, 2017-07-19 at 17:29 +0200, Denis Shulyaka wrote: > 2017-07-12 22:58 GMT+02:00 Tanu Kaskinen <tanuk at iki.fi>: > > > I don't know how the endpoints are supposed to agree on the format, and > > what kind of interface alsa provides for that (if any). The alsa-devel > > list might be more appropriate for questions about spdif details. > > > > I've raised this question to alsa-user mail list, here is the response I > got ( > http://www.mail-archive.com/alsa-user at lists.sourceforge.net/msg32163.html): > > > There would be a mixer control "IEC958 Capture Default" associated with > > the PCM device (i.e., not a real mixer control visible in alsamixer), > > containing the channel status bits; the "IEC958 Capture Mask" control > > defines which bits are valid. Interesting to know. > Although it is not yet supported for USB cards, is pulseaudio able to read > this information and provide it to applications? No, I don't think there's currently any code to read the status bits from the alsa mixer. -- Tanu https://www.patreon.com/tanuk