AudioSwitcher_v1 icon indicating copy to clipboard operation
AudioSwitcher_v1 copied to clipboard

AudioSwitcher freezes at launch in Win10

Open sambul13 opened this issue 7 years ago • 29 comments
trafficstars

Testing AudioSwitcher 1.8.0.42 in Windows 10 version 1709 with latest updates. At first launch AudioSwitcher GUI freezes indefinitely, and ProcessExplorer shows one svchost.exe process using 25% CPU load related to Windows Audio. If I manually restart the svchost process, it completes normally, CPU load drops to normal, and AudioSwitcher GUI unfreezes without restart. When closed and then reopen, AudioSwitcher seems to work normally, at times from 2nd or 3rd launch.

sambul13 avatar Apr 15 '18 01:04 sambul13

I've seen this only once before.

I think it may be related to the number of audio devices on the system/

How many audio devices are available, in the control panel menu? Including disabled/disconnected?

xenolightning avatar Apr 15 '18 20:04 xenolightning

Its repeatable after each PC reboot and AudioSwitcher launch. Eventually Windows Audio Troubleshooter kicks in, resets the provider, and AudioSwitcher launches. Historically there're a dozen of Speaker devices registered in the system, and about the same number of Mics, but only a few are currently enabled, the rest is disabled.

This package is the only one among those I tried causing such issue. I like it as I can assign any shortcuts to devices, but it needs fixing. For example, SoundSwitch launches instantly on the same system.

sambul13 avatar Apr 15 '18 23:04 sambul13

I can confirm.

In playback I have these:

Realtek Digital Output - Realtek High Definition Audio
Realtek HD Audio 2nd output - Realtek High Definition Audio
Speakers - Sound Blaster Z
SPDIF-Out - Sound Blaster Z
DELL P2715Q - NVIDIA High Definition Audio
Speakers - BLUE Yeti PRO
Speakers - 4- Dell AC511 USB Soundbar
DELL P2715Q - NVIDIA High Definition Audio

In recording I have these:

What U Hear - Sound Blaster Z
Line - 4- Dell AC511 USB SoundBar
Microphone - Sound Blaster Z
Digital-In - Sound Blaster Z
Microphone - BLUE Yeti PRO
Microphone - HD Pro Webcam C920

d3xt3r01 avatar Apr 21 '18 12:04 d3xt3r01

Same issue after latest Windows 10 update. Was using it just fine until today for several months.

recon88 avatar Aug 16 '18 21:08 recon88

@recon88 Ahh!

What's the version of Windows?

I think I did get part way into figuring out this issue, but it was intermittent at best on my test system.

Maybe with the new version I can reliably re-produce it.

xenolightning avatar Aug 17 '18 01:08 xenolightning

I had to launch it, then double left-click the icon and spam left-click the interface until it started responding. Now it's working fine for a couple days in a row.

recon88 avatar Aug 23 '18 19:08 recon88

Just updated to Windows 1803 and now getting this problem also. Spamming left clock as @xenolightning suggested did work though.

PlayingKarrde avatar Nov 22 '18 18:11 PlayingKarrde

Bump. 1 core full load by "Windows Audio" service, audioswitcher is frozen during this time (not even fully loaded because right click on icon in tray shows default layout). ~30 sec and it's loaded. Killing audioswitcher process instantly fix this cpu load. Without audioswitcher in startup there's no issue. 2nd+ restarts of audioswitcher doesn't cause cpu load.

Devocub avatar Jan 19 '19 15:01 Devocub

I think Windows updates is causing issues with devices, and the startup process must be deadlocking audio switcher for some reason. It's in the audio session/volume code somewhere, just need to find what is doing it.

I'm working on fixing the underlying issues with the sound system, and am hoping to have this fixed (eventually in v2) but applying it to v1 first for a wider user base

xenolightning avatar Jan 21 '19 19:01 xenolightning

where to get this fix for latest windows 10?

andycjw avatar Apr 11 '19 13:04 andycjw

This issue also started popping up for me after upgrading from Windows 7 to 10, unfortunately.

The locked svchost tends to also break all sound input/output on my system while ongoing as well, the effect lasting longer than any other startup item by several minutes.

Seems development is on the backburner for now, but I'd love a fix in the future!

dryocampa avatar Dec 28 '19 07:12 dryocampa

So any news on that? It has been almost a year since your last reply

recon88 avatar Dec 31 '19 10:12 recon88

seem to be was windows bug, rn i don't notice any problems (on latest windows)

Devocub avatar Dec 31 '19 11:12 Devocub

@Devocub interesting - what build of Windows 10 is it? It did seem that a change in Windows 10 caused instability, but could never prove it as such.

xenolightning avatar Jan 05 '20 19:01 xenolightning

@xenolightning latest

Devocub avatar Jan 05 '20 19:01 Devocub

ok i found something if you ever had relatek audio drivers installed then it will load way longer and strain cpu core @xenolightning

Devocub avatar Jan 11 '20 22:01 Devocub

yea this seems to be an issue for me as well disabling some unused devices does seem to help some but it doesn't completely mitigate it

UrbanPotato avatar Mar 07 '20 21:03 UrbanPotato

WHEN will you fix this damn bug??? It's been over a year, what are you doing? I'm going to have to switch (haha) to a better software since this keeps happening almost every time.

superblobster avatar Sep 07 '20 21:09 superblobster

I moved to nircmd setup as a hotkey on my keyboard using autohotkey and havent looked back since. I definitely recommend this method. Perfectly reliable.

PlayingKarrde avatar Sep 07 '20 21:09 PlayingKarrde

Belphemur's SoundSwitch (mentioned earlier in thread) has identical practical function to AudioSwitcher, and does not have this issue.

I recommend trying out SoundSwitch if you're experiencing this bug. Changing software is obviously not an ideal solution, but it's fairly painless, and I made the switch ~9 months ago and have been perfectly satisfied

https://github.com/Belphemur/SoundSwitch

dryocampa avatar Sep 08 '20 00:09 dryocampa

dryocampa, thank you so much! SoundSwitch is perfect. Haven't had any problems or high CPU usage so far.

Good riddance, AudioSwitcher! I hardly knew you.

superblobster avatar Sep 08 '20 01:09 superblobster

Perhaps there's an issue with specific Realtek, Nvidia or other audio drivers? When I set up this system I installed some older specific Realtek version (realtek-6.0.1.8459-20180605) to avoid issues I had just using the newest / default ones. Of course it could also just be the sheer amount of devices. I'm only at 4 non-disabled playback devices and 3 non-disabled recording devices, while one poster above listed 14 devices.

Luckz avatar Sep 15 '20 03:09 Luckz

Perhaps there's an issue with specific Realtek, Nvidia or other audio drivers? When I set up this system I installed some older specific Realtek version (realtek-6.0.1.8459-20180605) to avoid issues I had just using the newest / default ones. Of course it could also just be the sheer amount of devices. I'm only at 4 non-disabled playback devices and 3 non-disabled recording devices, while one poster above listed 14 devices.

No, I don't think so. I have the newest standard drivers from Realtek and Nvidia, and only 3 devices.

superblobster avatar Sep 15 '20 07:09 superblobster

You're very welcome superblobster! Glad I could help.

Unfortunately, the final answer here is that this repository has not been actively maintained since 2018, and as the project name suggests, we're trying to find a fix for obsolete software with several functioning alternatives that evolved into .NET libraries and APIs a good while back.

It sucks, but if you're experiencing this bug, just try out the very actively maintained SoundSwitch linked above and save yourself the hassle. Thread (unofficially) closed

dryocampa avatar Sep 16 '20 03:09 dryocampa

Testing AudioSwitcher 1.8.0.42 in Windows 10 version 1709 with latest updates. At first launch AudioSwitcher GUI freezes indefinitely, and ProcessExplorer shows one svchost.exe process using 25% CPU load related to Windows Audio. If I manually restart the svchost process, it completes normally, CPU load drops to normal, and AudioSwitcher GUI unfreezes without restart. When closed and then reopen, AudioSwitcher seems to work normally, at times from 2nd or 3rd launch.

Bump. I really love Audio Switcher but this bug annoys. Man @xenolightning please fix it.

AMBIztw avatar Mar 02 '23 22:03 AMBIztw