Hi,

On Friday 27 January 2006 21:50, Philipp Taprogge wrote:
> What I want:
> - use mplayer to play back (e.g.) stereo mp3s and videos, adding
>   rear, center and sub channels in the process (works)
> - get that output as a DD AC3 stream through the SP/DIF to the
>   decoder/amp.

I tried this unsuccessfully some time back, but maybe this gives you an idea 
of how it might work.

I  have found a JACK plugin that does real-time AC3 encoding at 
http://essej.net/ac3jack/ . So getting ALSA to do what you want should work 
something like this:

Create a routing device that maps a two-channel input to six-channel output 
using weights as you see fit.

Pipe these six channels out to JACK.

Use ac3enc to turn the 6 channels into AC3.

Get the AC3 to the soundcard.


I wonder if that sort of thing can be done natively in ALSA without the need 
to run JACK, but I haven't found a way yet.

Christoph


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to