Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- #
- # This file is a bash script, but the commands are intended for ~/.pulse/default.pa
- #
- # Load Null Sink for Podcast Received Audio
- pactl load-module module-null-sink sink_name=podcast_skype sink_properties=device.description="PodcastSkype"
- # Load Null Sink for Music to be streamed (Muzak)
- pactl load-module module-null-sink sink_name=muzak sink_properties=device.description="Muzak"
- # Load Loopback from Muzak sink to headphone output (iec958)
- pactl load-module module-loopback sink=alsa_output.pci-0000_00_1b.0.iec958-stereo source=muzak.monitor sink_dont_move=true source_dont_move=true latency_msec=30 source_output_properties=media.icon_name=Muzak-logo media.name=MUZAK sink_input_properties=media.icon_name=Muzak-logo media.name=MUZAK
- # Load Loopback from Podcast sink to headphone output (iec958)
- pactl load-module module-loopback sink=alsa_output.pci-0000_00_1b.0.iec958-stereo source=podcast_skype.monitor sink_dont_move=true source_dont_move=true latency_msec=30
- # This doesn't work:
- # source_output_properties=media.name=PodcastSkype media.icon_name=Teamspeak-icon sink_input_properties=media.name=PodcastSkype media.icon_name=Teamspeak-icon
- # Load Loopback from headphone sink to DisplayPort audio out on Nvidia GTX 780.
- pactl load-module module-loopback source=alsa_output.pci-0000_00_1b.0.iec958-stereo.monitor sink=alsa_output.pci-0000_01_00.1.hdmi-stereo-extra2 sink_dont_move=true source_dont_move=true latency_msec=30
- # This doesn't work:
- # source_output_properties=media.name=SPEAKERS media.icon_name=speaker sink_input_properties=media.name=SPEAKERS media.icon_name=speaker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement