[pulseaudio-discuss] Using pulseaudio with surround sound for DVD playing

Lennart Poettering lennart at poettering.net
Thu Oct 25 16:29:05 PDT 2007

On Sat, 20.10.07 12:12, Alex Malinovich (demonbane at the-love-shack.net) wrote:

> The one thing to note here is that this setup works great for surround
> movies in mplayer. However, watching them in Totem actually requires a
> DIFFERENT setup since mplayer and totem seem to have different ideas
> about what channels they should play audio to. So for totem, I use:
> load-module module-alsa-sink device=hw:0,0 sink_name=alsa_front channel_map=front-left,front-right rate=48000
> load-module module-alsa-sink device=hw:0,1 sink_name=alsa_rear channel_map=side-left,side-right rate=48000
> load-module module-combine sink_name=combined master=alsa_front slaves=alsa_rear channel_map=front-left,front-right,side-left,side-right channels=4
> set-default-sink combined

Until recently GStreamer (Totem) didn't export any info about the
channel order whatsoever. This has changed now. And if you get a fresh
gst-pulse snapshot from SVN you'll find that the channel mapping
should work correctly out of the box.


Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4

More information about the pulseaudio-discuss mailing list