At Wed, 16 Aug 2006 14:21:01 -0700 (PDT), Rob Jensen wrote: > > Does anyone know how to encode the audio out with Dolby Surround? I > have a receiver that supports Dolby Pro Logic, but not DPL2, and was > hoping that I could still have surround sound. Ideally, I'd hope that > everything could be properly configured so that mono sources comes out > all 5 speakers, stereo sources only come out front left and right, and > all surround becomes downmixed to Dolby Surround. Right now, however, > I'd settle for downmixing DTS, Dolby Digital and the like to Dolby > Surround. > > I've searched for something that would do this, but all I found were > references to a plugin for LADSPA, but have yet to find the actual plugin.
The encoding to DPL (and DPL2) is pretty easy if you have already discrete channels. Even the recent alsa-lib has a configuration. First, include pcm/dpl.conf by adding the following to ~/.asoundrc: <confdir:pcm/dpl.conf> then define a PCM like below: pcm.mydpl { type plug slave.pcm { type upmix slave.pcm "dpl:spdif" channels 6 } } where it outputs to SPDIF from the input with any number of channels. (This configuration requires upmix plugin included in alsa-lib.) Now you'll be able to play such as % aplay -D mydpl somefile.wav Takashi ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Alsa-user mailing list Alsa-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/alsa-user