I’m an anarchocommunist, all states are evil.

Your local herpetology guy.

Feel free to AMA about picking a pet/reptiles in general, I have a lot of recommendations for that!

  • 9 Posts
  • 349 Comments
Joined 5 years ago
cake
Cake day: November 25th, 2019

help-circle













  • Adding the second sink lets you easily route the audio through one, if I run that command I have it setup like this

    pactl load-module module-combine-sink sink_name=‘Game’ slaves=‘easyeffects_sink’

    and then I have a sink named “game” that I can record from OBS that isolates my audio from the one called game, but also passes that to my speakers, just seems like an easier way to do what you’re trying to accomplish with the wireplumber thing. I don’t know about if it’s the “proper” way but it works for me!


  • pactl load-module module-combine-sink sink_name='(namehere)' slaves='(put the sink you want to duplicate here)'

    Then there will be another sink that’s the exact same as the one you set as a slave that you can play audio to and that OBS can record separately, as for getting something to automatically go to that stream, generally you can use this environment variable:

    PULSE_SINK='(sinknamehere)'

    and make a .desktop file or keyboard shortcut that launches the program with that

    you can also make the sink names consistent with something like this but adapted to your audio devices in your wireplumber conf:

    monitor.alsa.rules = [
    	{
    		matches = [
    		{
    			device.name = "~alsa_card.pci-0000_06_00.*"
    		}
    		]
    		actions = {
    			update-props = {
    				device.name = "alsa_card.pci-0000_06_00"
    				node.nick = "Speakers"
    			}
    		}
    	}
    		{
    		matches = [
    		{
    			device.name = "~alsa_card.usb-Creative_Technology_Ltd_Sound_Blaster_X4*"
    		}
    		]
    		actions = {
    			update-props = {
    				device.name = "alsa_card.usb-Creative_Technology_Ltd_Sound_Blaster_X4"
    				node.nick = "Headphones"
    			}
    		}
    	}
    ]