All of lore.kernel.org
 help / color / mirror / Atom feed
* AES/SPDIF channel status bits in ALSA
@ 2015-01-08 13:14 Petr Kulhavy
  2015-01-08 13:27 ` Jaroslav Kysela
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Kulhavy @ 2015-01-08 13:14 UTC (permalink / raw)
  To: alsa-devel

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

-- 
Petr Kulhavy, MSc
System Architect

*BARIX*

petr@barix.com <mailto:petr@barix.com> | 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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: AES/SPDIF channel status bits in ALSA
  2015-01-08 13:14 AES/SPDIF channel status bits in ALSA Petr Kulhavy
@ 2015-01-08 13:27 ` Jaroslav Kysela
  0 siblings, 0 replies; 2+ messages in thread
From: Jaroslav Kysela @ 2015-01-08 13:27 UTC (permalink / raw)
  To: alsa-devel; +Cc: Petr Kulhavy

Dne 8.1.2015 v 14:14 Petr Kulhavy napsal(a):
> 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

-- 
Jaroslav Kysela <perex@perex.cz>
Linux Kernel Sound Maintainer
ALSA Project; Red Hat, Inc.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-08 13:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-08 13:14 AES/SPDIF channel status bits in ALSA Petr Kulhavy
2015-01-08 13:27 ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.