Jump to content

Stop windows from auto switching audio devices when plugged in?

Gershy13

Does anyone know of a way to stop windows from switching my input and output devices whenever something new is plugged in?

 

I have voicemeeter that i always want to use for my audio, but i am always connecting other devices which have audio (ps4 controller, bluetooth devices, etc)

 

Is there a way i can get it to always output/input to voicemeeter and never change (no matter how many new devices i plug in)?

Maybe something in the registry?

 

Thanks

Gershy13

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

9 minutes ago, Gershy13 said:

Does anyone know of a way to stop windows from switching my input and output devices whenever something new is plugged in?

unfortunately, no

 

you might be able to use virtual mixer to set audio to output at desired output and not rely on windows default, that might help

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Moonzy said:

unfortunately, no

 

you might be able to use virtual mixer to set audio to output at desired output and not rely on windows default, that might help

virtual mixer being voicemeeter? It still has the issue that whenever i plug something in it will switch my devices to prefer the new device.

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Gershy13 said:

virtual mixer being voicemeeter? It still has the issue that whenever i plug something in it will switch my devices to prefer the new device.

yea this can work

can't you map an output to a fixed device instead of relying on the windows default?

 

i never used it personally, but i think it's feasible

-sigh- feeling like I'm being too negative lately

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Moonzy said:

yea this can work

can't you map an output to a fixed device instead of relying on the windows default?

 

i never used it personally, but i think it's feasible

i dont think so, as voicemeeter relies on windows to output to its device, and then you can route from there...

if there was a way for windows to set voicemeeter as fixed and never change, that would be perfect.

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

If you're using integrated card, install drivers (realtek probably). Drivers have tool included that has option to disable detecting jacks.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, homeap5 said:

If you're using integrated card, install drivers (realtek probably). Drivers have tool included that has option to disable detecting jacks.

No it's mainly usb or Bluetooth devices

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

25 minutes ago, Gershy13 said:

No it's mainly usb or Bluetooth devices

They have software included too.

Link to comment
Share on other sites

Link to post
Share on other sites

On 10/14/2020 at 2:46 PM, Gershy13 said:

Does anyone know of a way to stop windows from switching my input and output devices whenever something new is plugged in?

 

I have voicemeeter that i always want to use for my audio, but i am always connecting other devices which have audio (ps4 controller, bluetooth devices, etc)

 

Is there a way i can get it to always output/input to voicemeeter and never change (no matter how many new devices i plug in)?

Maybe something in the registry?

 

Thanks

Gershy13

I find many of the responses in this thread confusing. I have a TV, a monitor, pair of speakers, USB headset and 3.5mm headphones that can all be used as output/input devices. I have spent that last 5 minutes plugging and unplugging all of these devices, and not once did the device change except for when my default device was unplugged. As soon as I plug my default device back in, the output device gets set back to it. 

 

My chosen output device is a set of 3.5mm speakers & subwoofer that have no attached software. I have my built-in sound card drivers installed but no utility. 

 

So my question is, have you set your desired output device as default? 

Ryzen 5 1500x, Noctua NH-L9x65 SE-AM4, GA-AB350N, 16GB 1600Mhz, EVGA GTX 970, 250GB Samsung 960 Evo, 120GB Samsung 840 Evo, 1TB WD Green & 2TB Seagate Barracuda. 650w OCZ ZX & Cooler Master Elite 130. Acer CB241HQK 4K, LG IPS234V-PN 1080p, Ducky Zero Shine All Blue/Anne Pro Brown/SteelSeries Apex Pro & Razer Naga 2014

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, Joshua said:

I find many of the responses in this thread confusing. I have a TV, a monitor, pair of speakers, USB headset and 3.5mm headphones that can all be used as output/input devices. I have spent that last 5 minutes plugging and unplugging all of these devices, and not once did the device change except for when my default device was unplugged. As soon as I plug my default device back in, the output device gets set back to it. 

 

My chosen output device is a set of 3.5mm speakers & subwoofer that have no attached software. I have my built-in sound card drivers installed but no utility. 

 

So my question is, have you set your desired output device as default? 

Yes i have set the output device that i want as default. the issue is plugging in new devices that the system hasnt seen before/recently i believe.

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

  • 2 months later...
On 10/16/2020 at 6:44 PM, Joshua said:

I find many of the responses in this thread confusing. I have a TV, a monitor, pair of speakers, USB headset and 3.5mm headphones that can all be used as output/input devices. I have spent that last 5 minutes plugging and unplugging all of these devices, and not once did the device change except for when my default device was unplugged. As soon as I plug my default device back in, the output device gets set back to it. 

 

My chosen output device is a set of 3.5mm speakers & subwoofer that have no attached software. I have my built-in sound card drivers installed but no utility. 

 

So my question is, have you set your desired output device as default? 

It happens to me literally any time I unplug and replug my USB headset. Yes I have manually set VoiceMeeter as the default device, but this is ignored when I plug in the USB headset. Windows will be a smartass and switch to it regardless of what I manually defined to be the default device.
But funnily enough, this only happens in the Playback tab, NOT the Record tab.

What I manually set:
833532331_manuallysettodefault.png.5f7a5934baf921111d641f61965682a2.png

When I unplug and replug my USB headset, Windows smartass:
754855911_Windowssmartassdefault.png.eb936c2ae4af0df414759f6c468697db.png

Link to comment
Share on other sites

Link to post
Share on other sites

10 minutes ago, PaterFrog said:

It happens to me literally any time I unplug and replug my USB headset. Yes I have manually set VoiceMeeter as the default device, but this is ignored when I plug in the USB headset. Windows will be a smartass and switch to it regardless of what I manually defined to be the default device.
But funnily enough, this only happens in the Playback tab, NOT the Record tab.

What I manually set:
833532331_manuallysettodefault.png.5f7a5934baf921111d641f61965682a2.png

When I unplug and replug my USB headset, Windows smartass:
754855911_Windowssmartassdefault.png.eb936c2ae4af0df414759f6c468697db.png

Happens to me in both tabs. Once a device has been connected and overridden as default windows will usually remember that even if you plug that device in, it won't set to default (although different usb ports seem to affect this differently)

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

13 minutes ago, Gershy13 said:

Happens to me in both tabs. Once a device has been connected and overridden as default windows will usually remember that even if you plug that device in, it won't set to default (although different usb ports seem to affect this differently)

Have tested in different USB ports just now, but the behavior remains as consistently problematic in all aspects:

In the playback tab only, plugging in the headset will set it to be the default device, regardless of previous manual settings.


For whatever reason, this does NOT happen in the Recording tab at all.

I'm mostly fine on reboots. Usually the default devices do not switch, but sometimes they do. I have a feeling it depends on whether Windows detects the headset (or the DAC of it, to be specific), or whether VoiceMeeter launches first, but I'm not sure if that is really it.

I#m thinking about writing a startup script that listens for any changes to this setting and reverts them to what I want it to be when they happen. But I haven't done anything like that before. Any suggestions?

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, PaterFrog said:

Have tested in different USB ports just now, but the behavior remains as consistently problematic in all aspects:

In the playback tab only, plugging in the headset will set it to be the default device, regardless of previous manual settings.


For whatever reason, this does NOT happen in the Recording tab at all.

I'm mostly fine on reboots. Usually the default devices do not switch, but sometimes they do. I have a feeling it depends on whether Windows detects the headset (or the DAC of it, to be specific), or whether VoiceMeeter launches first, but I'm not sure if that is really it.

I#m thinking about writing a startup script that listens for any changes to this setting and reverts them to what I want it to be when they happen. But I haven't done anything like that before. Any suggestions?

Not sure to be honest that's way over my head xD!

 

It's weird that it doesn't remember the setting if you plug it into the same usb port... Unless the driver of your headset reinitialises every time?

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

6 minutes ago, Gershy13 said:

Not sure to be honest that's way over my head xD!

 

It's weird that it doesn't remember the setting if you plug it into the same usb port... Unless the driver of your headset reinitialises every time?

I actually think it does. I use this headset:
1942581797_HeadsetwithDAC.png.bb566804a68c74a767c72c212fbfa297.png
The little black bar next to the actual headset is called "GameDAC" and goes through a bootup whenever I plug it in. The headset is connected to this DAC, which in turn is connected to the PC via USB.
Because it has no external power and no battery, it needs the power from the USB and I believe it needs to power up every time. This could be or cause the reinintialising you speak of. However, I would think that this should also cause the Recording default device to switch, which it doesn't...

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, PaterFrog said:

I actually think it does. I use this headset:
1942581797_HeadsetwithDAC.png.bb566804a68c74a767c72c212fbfa297.png
The little black bar next to the actual headset is called "GameDAC" and goes through a bootup whenever I plug it in. The headset is connected to this DAC, which in turn is connected to the PC via USB.
Because it has no external power and no battery, it needs the power from the USB and I believe it needs to power up every time. This could be or cause the reinintialising you speak of. However, I would think that this should also cause the Recording default device to switch, which it doesn't...

hmmm yeah thats weird... im not really sure to be honest.

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Gershy13 said:

hmmm yeah thats weird... im not really sure to be honest.

I'll go on a hunt for a script, or how to write one. Will be at least several days I think. Have you been able to fix the issue for yourself in any acceptable manner?

Link to comment
Share on other sites

Link to post
Share on other sites

7 minutes ago, PaterFrog said:

I'll go on a hunt for a script, or how to write one. Will be at least several days I think. Have you been able to fix the issue for yourself in any acceptable manner?

I don't plug in audio devices too often so it's not really a big problem for me. 

CPU: Ryzen 7 5800x + H150i Elite LCD     

RAM: 32GB Corsair Vengeance Pro RGB DDR4 3600MHz CL16

Motherboard: Gigabyte X570 Aorus Pro

GPU: MSI RTX 3070 Ventus 3X OC       

SSD 1: Corsair MP600 1tb (Windows)      

SSD 2: Samsung 840 EVO 120gb (Scratch Drive)   

SSD 3: Samsung 860 EVO 250gb

HDD 1: WD Blue 1TB

HDD 2: Seagate Barracuda 2TB

Case: NZXT H710

PSU: Corsair TX750M

Mouse: Lamzu Atlantis Pro Mini 4khz

Keyboard: Akko 5075B Plus

OS: Windows 10 Pro 64-bit  

Link to comment
Share on other sites

Link to post
Share on other sites

  • 4 months later...

Have not found anything to disable autoswitching, but there is a lot of applications and scripts to monitor it and switch it back.

Ex. Belphemur/SoundSwitch, or scripts based on AudioDeviceCmdlets

 

However from my understanding, setting the default device is not a part of the Windows API (getting is), and these application/scripts are using undocumented features.

Link to comment
Share on other sites

Link to post
Share on other sites

So, to answer people question... it has to do with the driver.

The driver of the device is making the switch. This is why some people have this behavior, others don't.

It's not Windows. 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 7 months later...
On 5/29/2021 at 11:36 AM, GoodBytes said:

So, to answer people question... it has to do with the driver.

The driver of the device is making the switch. This is why some people have this behavior, others don't.

It's not Windows. 

While this may be a driver issue, this should be something that windows is capable of handling in terms of allowing and disallowing. But then again, it seems Windows doesn't care a whole lot about audio in general. 

This issue, is currently a major issue for me and what led me here. My Artist 24 Pro is fighting with my audio interface for control right now. It is literally bouncing back and forth between them, the audio is cutting out and really just causing havoc. I have every sound device disabled in the sound control panel, despite that it is still fighting. It get's even better tho, in the Nvidia control panel it says that the monitor isn't even capable of audio. I think I'll try to remove the audio driver completely to see what happens. I cannot work in audio right now due to this but if I reboot it does go away. Something happens that triggers it tho and I am not sure what. 

Edit: I disabled all audio devices in the device manager and I believe this to be the solution. I only ever need my interface anyway. 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 1 month later...

Okay, so I am here, probably for the same reasons as others have ended up here... did a search for conflictions between external USB microphone and speakers/headphones. My sound using speakers, or headphones, would work just fine until I plugged in my microphone. I was at my wits end trying to figure out a solution, when all of a sudden I did this...

 

First: in case they matter ( I have a sneaking suspicion the name brands don't matter though)

Using a Windows 10 Gaming PC with the following

 

Jlab Stand alone Mic, USB wired

Elegant Gaming Speakers

Hyperx Headphones, w/o microphone, USB wired

One of the sound devices uses NVIDIA and the other uses REALTEK, both are high definition audio.

 

Now to the solution.

 

Open device manager (just start to type in startup menu and it will appear, then you can just click on it to open)

Scroll down to Sound, video and game controllers.

Disable one of the sound output devices (either speakers or headphones) by right clicking on the one you choose and scroll over to disable, click that.

Voila, the sound works... at least for me, this was the solution to the same problems above it even stopped it from automatically reverting to change my default.

 

Good luck to anyone who finds this site through the same grueling process as myself lol

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×