Re: Need help connecting spdif input

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

 



reklam@xxxxxxxxxxxxxx wrote:
> I have been searching the web for an example of how to get sourround
> sound from my toslink input [...] I realise that an a52 filter should
> be used,

The a52 plugin encodes PCM data into Dolby data, and as a plugin, it is
only used when an application uses the specified sound device.

What you want to do is to record from the digital input device, convert
the data from Dolby to PCM, then output this to the analog output
device.

It should be possible to do this by using arecord to capture raw data,
then piping it into ac3dec.

untested, assuming card 0:
	arecord -D spdif:0 -f dat -t raw | ac3dec -D hw:0 -6


HTH
Clemens

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux