Pulseaudio loopback changing source when new source is connected

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I have an audio stream coming in from line-in that I prefer to have monitored at all times. I use the following command to do this:



pacmd load-module module-loopback latency_msec=1 source='alsa_input.pci-0000_00_1f.3.analog-stereo'


and every time I connect any additional audio source (webcam, usb mic, etc) it changes to that source... resulting in near ear-bleed levels of feedback causing me to either rip the source out as quickly as possible or unload the module and execute the command again.



I'm naming the source in this command... why does it keep changing when new sources are connected? How do I permanently add a loopback of a specified device THAT WONT CHANGE?



Edit: System details: Asus Prime Z370-A motherboard, i7-8700K, Xubuntu 17.10.1, 4.13.0-38-generic







share|improve this question






















  • Tried commenting out "load-module module-switch-on-connect" in /etc/pulse/default.pa and had no effect. Thought that would have done it, but I feel like I'm missing something...
    – 08S3RV3R
    Apr 15 at 0:56










  • Anyone? Hard to believe no one has run into this...
    – 08S3RV3R
    May 13 at 10:58














up vote
1
down vote

favorite












I have an audio stream coming in from line-in that I prefer to have monitored at all times. I use the following command to do this:



pacmd load-module module-loopback latency_msec=1 source='alsa_input.pci-0000_00_1f.3.analog-stereo'


and every time I connect any additional audio source (webcam, usb mic, etc) it changes to that source... resulting in near ear-bleed levels of feedback causing me to either rip the source out as quickly as possible or unload the module and execute the command again.



I'm naming the source in this command... why does it keep changing when new sources are connected? How do I permanently add a loopback of a specified device THAT WONT CHANGE?



Edit: System details: Asus Prime Z370-A motherboard, i7-8700K, Xubuntu 17.10.1, 4.13.0-38-generic







share|improve this question






















  • Tried commenting out "load-module module-switch-on-connect" in /etc/pulse/default.pa and had no effect. Thought that would have done it, but I feel like I'm missing something...
    – 08S3RV3R
    Apr 15 at 0:56










  • Anyone? Hard to believe no one has run into this...
    – 08S3RV3R
    May 13 at 10:58












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I have an audio stream coming in from line-in that I prefer to have monitored at all times. I use the following command to do this:



pacmd load-module module-loopback latency_msec=1 source='alsa_input.pci-0000_00_1f.3.analog-stereo'


and every time I connect any additional audio source (webcam, usb mic, etc) it changes to that source... resulting in near ear-bleed levels of feedback causing me to either rip the source out as quickly as possible or unload the module and execute the command again.



I'm naming the source in this command... why does it keep changing when new sources are connected? How do I permanently add a loopback of a specified device THAT WONT CHANGE?



Edit: System details: Asus Prime Z370-A motherboard, i7-8700K, Xubuntu 17.10.1, 4.13.0-38-generic







share|improve this question














I have an audio stream coming in from line-in that I prefer to have monitored at all times. I use the following command to do this:



pacmd load-module module-loopback latency_msec=1 source='alsa_input.pci-0000_00_1f.3.analog-stereo'


and every time I connect any additional audio source (webcam, usb mic, etc) it changes to that source... resulting in near ear-bleed levels of feedback causing me to either rip the source out as quickly as possible or unload the module and execute the command again.



I'm naming the source in this command... why does it keep changing when new sources are connected? How do I permanently add a loopback of a specified device THAT WONT CHANGE?



Edit: System details: Asus Prime Z370-A motherboard, i7-8700K, Xubuntu 17.10.1, 4.13.0-38-generic









share|improve this question













share|improve this question




share|improve this question








edited Apr 12 at 12:35

























asked Apr 12 at 1:58









08S3RV3R

62




62











  • Tried commenting out "load-module module-switch-on-connect" in /etc/pulse/default.pa and had no effect. Thought that would have done it, but I feel like I'm missing something...
    – 08S3RV3R
    Apr 15 at 0:56










  • Anyone? Hard to believe no one has run into this...
    – 08S3RV3R
    May 13 at 10:58
















  • Tried commenting out "load-module module-switch-on-connect" in /etc/pulse/default.pa and had no effect. Thought that would have done it, but I feel like I'm missing something...
    – 08S3RV3R
    Apr 15 at 0:56










  • Anyone? Hard to believe no one has run into this...
    – 08S3RV3R
    May 13 at 10:58















Tried commenting out "load-module module-switch-on-connect" in /etc/pulse/default.pa and had no effect. Thought that would have done it, but I feel like I'm missing something...
– 08S3RV3R
Apr 15 at 0:56




Tried commenting out "load-module module-switch-on-connect" in /etc/pulse/default.pa and had no effect. Thought that would have done it, but I feel like I'm missing something...
– 08S3RV3R
Apr 15 at 0:56












Anyone? Hard to believe no one has run into this...
– 08S3RV3R
May 13 at 10:58




Anyone? Hard to believe no one has run into this...
– 08S3RV3R
May 13 at 10:58















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f437178%2fpulseaudio-loopback-changing-source-when-new-source-is-connected%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f437178%2fpulseaudio-loopback-changing-source-when-new-source-is-connected%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)