Saturday, May 18, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 500  / 1 Year ago, thu, march 2, 2023, 12:15:18

I wanted to setup OBS to record audio from a single application but I've tried every method I've seen and sometimes I can get OBS to record the audio but then I can't hear it.


More From » pulseaudio

 Answers
6

Ok so I figured it out myself. As someone commented before, yes, I already have pavucontrol, but that wasn't working for me either. What I did was I made a virtual sink and a loopback of said sink. To do this, I used pactl load-module module-null-sink sink_name=vsink to create the sink, and pactl load-module module-loopback sink=vsink to create the loopback. Then I put the application that I wanted to record audio from onto vsink, and put the sink's loopback onto my desktop audio. This works when I run the commands through terminal but strangely doesn't work when I run them as a bash script. Instead of creating a sink and loopback it creates a loopback of my microphone. However I'm fine with the way it is now that it works.


[#223] Friday, March 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
singerrupt

Total Points: 435
Total Questions: 111
Total Answers: 109

Location: Angola
Member since Tue, May 5, 2020
4 Years ago
;