Re: How to test new SDPIF implementation?

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

 



On Sun, 10 May 2009, Jon Smirl wrote:

> I would like to test my SPDIF driver implementation. How can I used
> command line tools to play sample 5.1 music over SPDIF?
>
> I have a file 5.1 AC3 encoded file -- w.ac3
>
> This doesn't work:
>
> iecset -D hw:0 audio off
> aplay -c 2 -r 48000 -f S16_BE -D hw:0,1 w.ac3

Use 'ac3dec -C <ac3file>' from alsa-tools to play .ac3 files. The spdif 
output of ac3 format requires some padding. You cannot send contents of 
.ac3 file directly to PCM device.

 					Jaroslav

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

_______________________________________________
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