[alsa-devel] Transmitting ac3 content via spdif

Fabio Estevam festevam at gmail.com
Fri Oct 26 23:50:37 CEST 2012

On Fri, Oct 26, 2012 at 5:30 PM, Fabio Estevam <festevam at gmail.com> wrote:
> Hi,
> I am trying to transmit ac3 content via spdif on a mx6 (on a yet
> non-mainlined driver).
> Tried to force non-audio mode via iecset:
> # iecset audio 0
> control "IEC958 Playback Default" (index -1) not found

Ok, need to pass "-c 1" option to iecset:

$ iecset -c 1 audio 0
Mode: consumer
Data: non-audio
Rate: 44100 Hz
Copyright: permitted
Emphasis: none
Category: general
Original: 1st generation
Clock: 1000 ppm
root at imx6qsabrelite:/home# aplay -D hw:1,0 -f dat /home/mcxpk_audio_capture.ac3
Playing raw data '/home/mcxpk_audio_capture.ac3' : Signed 16 bit
Little Endian, Rate 48000 Hz, Stereo


Fabio Estevam

More information about the Alsa-devel mailing list