> -----Ursprungligt meddelande----- > Från: Mårten Gustafsson [mailto:reklam@xxxxxxxxxxxxxx] > Skickat: den 22 februari 2009 11:57 > Kopia: 'alsa-user@xxxxxxxxxxxxxxxxxxxxx' > Ämne: SV: Need help connecting spdif input > > > > > -----Ursprungligt meddelande----- > > Från: Clemens Ladisch [mailto:cladisch@xxxxxxxxxxxxxx] > > Skickat: den 13 februari 2009 09:27 > > Till: reklam@xxxxxxxxxxxxxx > > Kopia: alsa-user@xxxxxxxxxxxxxxxxxxxxx > > Ämne: Re: Need help connecting spdif input > > > > 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 > > > > I have spent several nights trying to find which suse package > contains ac3dec, without success. Is there anyone out there > who knows? Thanks. Mårten Solved. ac3dec is not part of any distribution due to copyright problems, http://lists.opensuse.org/opensuse-bugs/2008-02/msg03345.html. I have downloaded and compiled alsa-tools sources. /M ------------------------------------------------------------------------------ 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