[pulseaudio-discuss] Controlling where module-rtp-send sends multicast packets?
Chris Ribe
chrisribe at gmail.com
Fri Feb 15 08:11:53 PST 2008
> As for why I am using multicast, it is because that seemed like the only
> way I could replicate streams to more than one sink. Please fill me in if
> I'm wrong since it seemed like a little overkill. I would before a simple
> copy stream module. This allows any single room to connect to any other
> room's currently playing audio on demand.
>
>
Here is an example from the wiki ( http://www.pulseaudio.org/wiki/CLI ),
module-combine looks like it does what you are looking for.
#!/usr/bin/pulseaudio -nF
>
> # Create autoload entries for the device drivers
> add-autoload-sink output module-alsa-sink device=plughw:0,0 rate=48000 sink_name=output
> add-autoload-sink output2 module-oss device=/dev/dsp1 record=0 sink_name=output2
> add-autoload-sink combined module-combine master=output slaves=output2 sink_name=combined
>
> add-autoload-source input module-alsa-source device=hw:1,0 source_name=input
>
> # Load several protocols
> load-module module-esound-protocol-unix
> load-module module-simple-protocol-tcp
> load-module module-native-protocol-unix
> load-module module-cli-protocol-unix
>
> # Make some devices default
> set-default-sink combined
> set-default-source input
>
> # Don't fail if the audio files referred to below don't exist
> .nofail
>
> # Load an audio to the sample cache for usage with module-x11-bell
> load-sample-lazy /usr/share/sounds/KDE_Notify.wav x11-bell
> load-module module-x11-bell sample=x11-bell
>
> # Play a welcome sound
> play-file /usr/share/sounds/startup3.wav combined
>
>
-chris
--
TV/IT Engineer
WCJB-TV Gainesville, FL
(352) 416 0648
cribe at wcjb.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20080215/64be2a38/attachment.htm>
More information about the pulseaudio-discuss
mailing list