AES/SPDIF channel status bits in ALSA
Hi,
is there a way to get the channel status bits information from an AES or SPDIF input interface through ALSA and read it in userspace? I'm trying to solve some issues with the channel status bits sent from a custom hardware and finding a way to analyse the channel status info.
Regards
Petr
Signature · 12 lines
Petr Kulhavy, MSc System Architect *BARIX* [email protected] <mailto:[email protected]> | Skype: brain.barix Barix AG, Seefeldstrasse 303 | 8008 Zurich, Switzerland T +41 43 43322 11 | www.barix.com <http://www.barix.com> You have received this email because of your relationship Barix AG and its affiliated companies. Barix AG and its affiliated companies do not sell or exchange email addresses, or any other personal contact information provided by you with any third parties. All email distributions are managed and controlled by Barix AG and its affiliated companies. Barix AG, Seefeldstr. 303, 8008 Zürich, Switzerland. Company Reg. No: CH-020.3.023.869-8, VAT Reg. No: CHE-105.687.663.
Dne 8.1.2015 v 14:14 Petr Kulhavy napsal(a):
Quoted 6 lines
Hi,
is there a way to get the channel status bits information from an AES or SPDIF input interface through ALSA and read it in userspace? I'm trying to solve some issues with the channel status bits sent from a custom hardware and finding a way to analyse the channel status info.
Look for the IEC958 controls (amixer -c <cardnumber> contents), but most hardware / drivers do not pass this information.
Some hardware is also able to receive the whole spdif frames - look for drivers with SNDRV_PCM_FMTBIT_IEC958_SUBFRAME_* types (like cmipci).
Jaroslav
Signature · 3 lines
Jaroslav Kysela <[email protected]> Linux Kernel Sound Maintainer ALSA Project; Red Hat, Inc.