From c29b3f11e271757d60e72480030011913f778878 Mon Sep 17 00:00:00 2001
From: Lennart Poettering Now the audio data will be available from the default source rtp_monitor. Now the audio data will be available from the default source rtp_monitor. When sending multicast RTP traffic it is recieved on the entire LAN but not by the sender machine itself!
Can I use Polypaudio to playback music on two sound cards simultaneously?
+ +Yes! Use module-combine for that.
+ ++load-module module-oss-mmap device="/dev/dsp" sink_name=output0 +load-module module-oss-mmap device="/dev/dsp1" sink_name=output1 +load-module module-combine sink_name=combined master=output0 slaves=output1 +set-sink-default combined ++ +
This will combine the two sinks output0 and +output1 into a new sink combined. Every sample +written to the latter will be forwarded to the former two. Polypaudio +will make sure to adjust the sample rate of the slave device in case +it deviates from the master device. You can have more than one slave +sink attached to the combined sink, and hence combine even three and +more sound cards.
Can I use Polypaudio to combine two stereo soundcards into a virtual surround sound card?
+ +Yes! You can use use module-combine for that.
+ ++load-module module-oss-mmap device="/dev/dsp" sink_name=output0 channel_map=left,right channels=2 +load-module module-oss-mmap device="/dev/dsp1" sink_name=output1 channel_map=rear-left,rear-right channels=2 +load-module module-combine sink_name=combined master=output0 slaves=output1 channel_map=left,right,rear-left,rear-right channels=4 ++ +
This is mostly identical to the previous example. However, this +time we manually specify the channel mappings for the sinks to make +sure everything is routed correctly.
+ +Please keep in mind that Polypaudio will constantly adjust the +sample rate to compensate for the deviating quartzes of the sound +devices. This is not perfect, however. Deviations in a range of +1/44100s (or 1/48000s depending on the sampling frequency) can not be +compensated. The human ear will decode these deviations as minor +movements (less than 1cm) of the positions of the sound sources +you hear.
+ +