Windows XP allows you to output sound to more than one audio device… Vista and newer Windows versions do not. To overcome this “Failure by Design”, (IMHO somehow related to DRM, preventing user to make digital copies of analog sources), I have coded SSD – Set Sound Device.
SSD enables you to change the default Sound Device by shortcut or command line.
Version 1.1 should fix the UAC prompt bug.
Version 1.3 adds compatibility for Win8 and the option to change the sound device “invisible” (on a separate Desktop).
Version 2 adds lots of new functionalities. Win10 compatibility, change recording devices, change audio or communication device separately, merge two separate output and recording device shortcuts and more
Version 3 adds Win 10 anniversary update compatibility and removes ini-file save to AppDataDir, portable install to program directory only.
Version 4 Ported to Autoit 3.3.14.2, minor improvements and bug fixes. Identified Win10-1703 issue, after the Update Windows sometimes “cleans” the entries in the sound control panel, initially blocking the “Sound” dialog until manually confirmed. Opening the “Sound†panel manually one time fixes this topic.
It works fine on my 64bit Win10-1703 machine. If you find bugs please let me know.
Kudos to: Ascend4nt and NerdFencer for parts of the code, and Yashied for his most excellent WinAPIEx UDF.
Please let me know if you found some piece of code in the source for which I forgot to mention a credit.
Disclaimer
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY
The Author of this Software expressly disclaims any warranty for the SOFTWARE PRODUCT. The SOFTWARE PRODUCT and any related documentation is provided “as is” without warranty of any kind, either express or implied, including, without limitation, the implied warranties or merchantability, fitness for a particular purpose, or non-infringement. The entire risk arising out of use or performance of the SOFTWARE PRODUCT remains with you.
NO LIABILITY FOR DAMAGES
In no event shall the author of this Software be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this product, even if the Author of this Software has been advised of the possibility of such damages. Because some states/jurisdictions do not allow the exclusion or limitation of liability for consequential or incidental damages, the above limitation may not apply to you.
This is really a great tool! THX a lot
Great tool! Thank you!
Hi Karsten,
You already had a chance to check the buggy volume-function of SSD?
Best regards Günther
Sorry, not yet. But it’s definitely on the list.
Hi,
Switching between headphones and speakers works perfectly in the current Winows 10 version.
Now I wanted to reset the volume at the headphone output and had tried it with 50%.
Unfortunately, it has no effect. The manual change in the SSD.ini to 50 brought no success.
Is there a way how it works.
regards Günther
Hallo Günther,
thanks for reporting this, seems the function is bugged :). I’ll take a look and will post an updated version of SSD soon.
Regards, Karsten
Hi Carsten,
I had your recommendation followed and opened the sound manually, but then the behavior of SSD was unchanged.
I could see the following when I leave the sound dialog open when running:
Base: Sound playback
Speaker activated (hook symbol)
Headphones disabled (down arrow icon)
Click on headphone link:
Speaker short off, then still active, hook symbol goes away
additional entries in the context menu: “Select as default device” and “Set as default communication device”
Click on Speaker Link:
Speakers continue active, down arrow icon again, the above two context menu items are gone again
Maybe you have a hint or advice.
Greetings Günther
Hi Günther,
as discussed via Email the relevant devices must be set to “Enable” / “Aktivieren” for SSD to work properly.
Best Regards,
Karsten
Finally installed Win10-1703 and identified the issue. After the update Windows sometimes “cleans†the entries in the sound control panel, initially blocking the “Sound†dialog until manually confirmed.
Opening the “Sound†panel manually one time fixes this topic.
Hi Karsten,
Synonymous I’m inspired by your solution of the audio source changeover.
Unfortunately it has not changed since W10 (1703, build 15063) (as already wrote Jan at 2/7/17) but remains on the selected entry “hang”, that is. The sound goes off briefly, comes back but does not change the source.
Did you already have the opportunity to check with this version or to find a solution?
Greeting Günther
Hi Günther, sadly not yet, I’m still running on 1607 and also don’t have access to 1703. I’ll send you an Email when my system updates and I can reproduce the issue.
Problem 🙁
Sound control panel window not found in time.
Error code: 11
Did you install a new version of SSD? Try to re-create the shortcuts.
77719997772 hidden
77719997772 hidden
Does not work with w10 (1703, build 15063.447).
After 10sec it shows up the pop up (close to the cursor) with one of the playbackdevices. For me it shows “Speaker” but sound is played on the headphones after and before the try to switch.
Currently still running 1607, so I’ll test it after update to 1703 again. But SSD only automates the “Sound” dialog, if there are to headphones display there, SSD can switch them either.
Does not work if “hidden” active (win10 Error:11)
Ich habe mit den von SSD erstellten Verknüpfungen folgendes Problem.
Wenn ich unter Windows 10 die Verknüpung öffne kommt immer eine Meldung die da lautet: “Datei öffnen – Sicherheitswarnung”
Da steht fett das der Herausgeber unbekannt ist und ganz unten in dem kleinen Fenster steht “Dateien aus dem Internet können nützlich sein, aber dieser Dateityp kann eventuell auf dem Computer Schaden anrichten. Öffnen Sie diese Software nicht, falls Sie der Quelle nicht vertrauen.”
Ich kann dann auf Öffnen oder Abbrechen drücken.
Ich möchte aber nicht das dieses nervige Fenster jedesmal auftaucht, wenn ich die SSD Verknüpfungen für meine Sound Devices benutze. Was kann ich tun?
Right click on “SSD.exe” > set checkbox under “Sicherheit” (“Unblock” in English I think) and apply.
I just downloaded your program and everything was working fine until I set up my 2nd monitor which is a TV. It started giving me:
Windows 10 64 bit
Error!
Sound control panel window not found in time.
Error code:11
7771hiden
7771hiden
When I turn off the hidden it works fine or if I turn the second monitor off it works fine too. Must be something which cloning screens that causes the error. Thanks for the program will help a lot with switching devices for oculus rift and gaming headset.
Hi James, thanks for the feedback! I’ll take a look.
Hi Kafu
When your sound device outputs digitally over HDMI you get the Speaker Setup Configuraton (Configure Tick Box) just like you get if you are connected and outputing using analog plugs. With SPDIF connections you do not get the Speaker Config (its greyed out).
I actually have been able to switch on the fly easily in batch files by doing a registry merge to the appropriate sound devices properties at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\Audio\Render…..
Kafu I have used you Set Sound Device utility for years (and just started using Hotkey Res Changer as well) and it has been a god send in batch files. I have recently changed to nVidia audio over HDMI (was using SPDIF’s from Realtek and Creative SB audio previously). With the change to HDMI audio, and how it works with everything I do/use, brings a new set of headaches.
I now need to be able to change the Speaker Setup Configuraton (Configure Tick Box)of the default HDMI audio device to/from Stereo and one of the Surround Audio Channel selections in the list on the fly in batch files.
Is this ability something that could be added to your SSD Utility?
Thank You
John Hillig
In which dialog do you change the speaker set-up? SSD automates the Windows “Sound” dialog window, there I don’t see speaker set-up. Is it an nVidia specific set-up program?
I have a Dell Alienware running Windows 10 Pro. Doesn’t work. I have a sound card with my speakers and jacks for my headphone and it has no effect. The only way I can use the speakers is to unplug the headphones.
Anyone know how to uninstall this. I need to get it off my machine.
Thanks
Hello Jim,
as replied via Email there is no need to uninstall SSD, just delete SSD.exe and SSD.ini and you’re done. Sounds to me like the headphone is directly controlled by the soundcard and not by Windows. Does it appear in your systems “Sound” dialog? If not, than SSD is in fact no solution for you, as it does nothing else than to automate the “Sound” dialog on a secondary (invisible) desktop.
Best Regards
Great tool, man! Thanks a lot!
I am using the latest beta ssd and latest windows 10 and i still get the error code 11 77729997773hidden 77729997773hidden
Error code 11 means “Sound control panel window not found in time.”
What happens when you run the following in a CMD window?
rundll32.exe shell32.dll,Control_RunDLL mmsys.cpl,,0
It should open a “Control Panel” > “Sound” panel. Does it? And did you delete the SSD.ini file?
Please also test if SSD works when you turn of your AV.
Hi, love your program, but I may have messed something up. I am using Windows 7 and I use it to switch back and forth from a USB headset and my laptop speakers. I ran the shortcut to switch to the speakers when they were unplugged. I got an error and now I get the error message listed above.
If I uncheck “Perform Device Switch Hidden” it works, but I see the Sound control panel window pops up, then disappear, which it didn’t do before when that box is checked. I get a Code 11 error and 7773 hidden if I make a shortcut with this box checked.
Are there temporary files stored somewhere that didn’t get cleaned up because I crashed it that are now causing troubles? Where would I find them so I can test this hypothesis?
Thanks again for an elegant fix to a clunky problem.
There is an SSD.ini file beside the SSD.exe, delete that file. Also give the latest v3.1Beta a try:
https://funk.eu/wp-content/plugins/download-monitor/download.php?id=229
This thing is excellent, thanks a lot for making it and for the new little helper bits, like automatically being able to select a different icon for headphones and speakers.
Thanks a lot for making it!
Thanks for the positive feedback, glad you like it :)…
Wow, I find your program very useful, thank you for your effort.
Unfortunately I have to recreate my shortcuts every 2-3 days because they stop working. The message I get is:
SysListView control in ‘Sound” control panel not found
Error code:51
2hidden
2hidden
I’m on latest Windows 10.
Well, that’s strange, I’m running the latest Win10 now myself without problems. Please try the latest Beta and let me know if the problem persists.
https://funk.eu/wp-content/plugins/download-monitor/download.php?id=229
Thanks a lot for reporting!
Best Regards
Thank You
You’re welcome :).
i’ve got the same problem as mentioned above:
at first it works fine, but after one or two reboots, i get the following error:
did you install a new version of ssd? try to re-create the shortcuts.
7777hidden
7777hidden
Tried to do new ones but no luck so far. I’m on Vista64.
Is there any fix yet?
Stefan
I just bought a bluetooth speaker to sit beside by bed and needed to switch between my wall speakers and the new one. Your script works perfectly to switch between them. Now, if only you can make bluetooth more reliable…. (just a joke, I know that no one can do that).
Thanks for the great work!
Sound control panel window not found in time.
Error code:11
7776hiden
7776hiden
Still came up on two Win 10 Systems after installing the Windows 10 anniversary update.
Is there any way to solve this issue ??
I have the same issure , plz help~
Well, got Win10 Anniversary update myself now, and SSD works for me without any problems. Do you have the latest v3 installed? Did you re-create the shortcuts?
Hi there, big thx for this little helper, works awesome on win10 so far but i have one little problem:
equal if i choose tray notification or tooltip i only get a tooltip by my mouse, any ideas?
Glad you like it. No, sorry, can’t say where the problem is, works fine for me on Win10. Start SSD.exe on check both “On switch” checkboxes, close program and use shortcuts to switch. That works for me, shows tip near the mouse cursor and in the tray. Maybe it’s related to your Windows Settings regarding the tray?
Hi Karsten,
according to the issue “Sound control panel window not found in time”, when I start the script in Scite, I get the following error:
“H:\Programme\AutoIt3\Examples\SSD\WinAPIEx_3.8_3380\WinAPIEx.au3” (1084) : ==> Duplicate function name.:
Func _WinAPI_AbortPath($hDC)
->11:11:46 AutoIt3.exe ended.rc:1
+>11:11:46 AutoIt3Wrapper Finished.
>Exit code: 1 Time: 1.159
But ther is only one function with this name.
Also this information is displayed:
! Obfuscator support has been discontinued and is replaced by Au3Stripper using “#Au3Stripper_” directives.
Regards,
Michael
Hi Michael,
currently all my programs are still based on AutoIt v3.3.8.1, that’s why you get errors when you try to compile them with newer AutoIt versions. I’m not planning to update them to the newest AU version in the near future, so if you want to compile them yourself you have to downgrade to v3.3.8.1 yourself, sorry.
https://www.autoitscript.com/autoit3/files/archive/autoit/
Regards,
Karsten
Sound control panel window not found in time.
Error code:11
7776hiden
7776hiden
Still came up on two Win 10 Systems after installing the Windows 10 anniversary update.
Is there any way to solve this issue ??
thx in advance
When I download your SSD tool Windows Defender tells me that it is infected with “Trojan:Win32/Pellate.B!cl”.
Please check if it’s safe.
Hi, when you’ve downloaded it from my site, I’m confident that it is a false positive. I offer these programs under my true name.
The programs are coded with the AutoIt scripting language, and sadly sometimes some AV providers flag these programs generically.
Virustotal reports 3/56 for SSD_v2.exe:
https://virustotal.com/de/file/e2892a8ceea2850bc7a3dde3c97fb2dc0891b9b0786dd4e8cc59d7cc3fe74aef/analysis/1465509251/
Hi, just found this. I have VIVE, Corsair headphones and home cinema all running from one PC, and this programme is brilliant to make it easy to ensure the audio comes out of the right speakers 🙂
I know its not your problem, or software, but I have Logitech G510 keyboard and when I mapped the shortcuts to some of the macro keys it runs SSD instead of doing the shortcut action. Is there a way I can fix this?
Thanks.
Maybe it’s possible to map the shortcut directly? Take a look at the shortcut properties and copy the shortcut (something like “C:\Users\NAME\Desktop\_Toolbox\SSD.exe 7779hidden”) and add it to your keyboard set-up.
In some cases, there might be problem with ssd.ini formatting, that is currently using ASCI. Some products like Chinese or Easter Europe have names in their own language using different set of characters – unrecognized under asci. In such circumstances it helps to save ssd.ini in UNICODE.
Helped me anyway.
Cheers 🙂
Thanks for that hint, saw that already and it should be solved in the 2.1 Beta, will definitely by fixed in upcoming v3 :).
Best Regards
Hi KaFu,
I have the v2 worked just fine in win10 — until I updated my audio driver “realtek audio” to the lasted version. It begins showing “7777hidden” kind of error.
But the v1.3 works just fine.
Hope this can help you debug. 🙂
Getting error 0 upon attempts to change playback devices however they still changed correctly even with the error 0 popup.
Running version 2.0 on Windows 7 Ultimate.
Working flawlessly until a Windows update on 15-04-16 in the locale of Ireland.
I can’t pin down KB update numbers for you but I can confirm your beta update solved the problem for me.
Hopefully this tidbit of info helps everyone out.
Thanks for the info, I’ll set to officially release the beta soon.
Regards
I ran into a problem regarding the order of which the sound devices is sorted in “sound/playback”. I’m using Unified remote for Android and the command line part of SSD to control the switching between sound devices.
Currently I need to switch between my TV and DAC, but my sound signal is routed through VB-Audios Asio-Bridge to get a bit perfect signal. So it’s actually a matter of switching between the TV and the Asio-Bridge. When my DAC is turned on, the order of which the devices is listed is as follows: DAC (Via Asio), TV, Asio-bridge.
If my DAC aren’t turned on, it is not shown in the list, and that’s when the problems arise. Cause what to SSD was before sound device number 2 is number one and so on.
Since changing the device name under properties/generel didn’t help me, I figured that windows might sort from the name stated in properties/generel/controller information. That’s the second part of the sound device identification in the sound/playback window. But how to change that. I tried searching through the registry, but there were too many instances of the name. Frankly I can’t remember how I found out, but if you change the name in “device management”, it also changes in “sound”.
So now it was just a matter of changing Asio-Bridge to 01-Asio-bridge and so forth. But how to do that?
Follow this guide and you’re good: http://tinyurl.com/myer9j8
Did you test the latest (Beta?) version of SSD? As of v2 by default SSD looks for the name and not the position in the list, so the problem you describe is valid for v1.x (where the selection happened based on the number in the list only), but should not for v2.x.
Best Regards
Beta works in Win10 latest build, but I had to re-create the shortcuts.
Thanks for the info, I really need to update to Win10 :).
SSD v2.1 Beta on Win 10 Error Code: 11
Did you install a new version of SSD? Try to re-create the shortcuts.
77719997773hidden
77719997773hidden
Thanks for the feedback, so it’s still not solved :(, too bad. I’m still running Win8.1 without any error, will see to upgrade sometimes this year and then hopefully find that damn bug.
To this problem:
Windows 10 64 bit
Error!
Sound control panel window not found in time.
Error code:11
7771hiden
7771hiden
_________________________
I only get that problem if I double click the Icon on symbol task shortcut. But if I right click it and click on open, it works. Maybe this is helpful for you.
I have updated the SSD v2.1 Beta, please give it a try and let me know if it solves the issues on Win10.
http://funk.eu/wp-content/plugins/download-monitor/download.php?id=220
Windows 10 64 bit
Error!
Sound control panel window not found in time.
Error code:11
7771hiden
7771hiden
Well, well, it seems like there’s something going wrong on Win10 with SSD. Now I myself have currently only Win8.1 installed and SSD works flawlessly. I see what I can do to get my hands on a Win10 computer to test and find the bug.
Regards
Does setting the “Compatibility Mode” to Windows 8 solve the issue (right-click on SSD.exe > Properties > Compatibility)?
i’ve got the same problem as mentioned above:
at first it works fine, but after one or two reboots, i get the following error:
error 0,
did you install a new version of ssd? try to re-create the shortcuts.
7777hidden
7777hidden
is there any fix yet?
sebastian
Thank you!!! Just what I needed! Btw, I’m using Win10 and getting the same error of Torsten. But everything is working fine!
error 0,
did you install a new version of ssd? try to re-create the shortcuts.
7777hidden
7777hidden
Hi and thanks for this great program. i have downloaded the version 1.3, because of the reason that version 2 is not working on my Win 10 PC.
This pops up when i try to switch my audio device:
error 0,
did you install a new version of ssd? try to re-create the shortcuts.
7771hidden
7771hidden
Version 1.3 is still working well, but please update the newest version.
Cannot get the program: Set Sound Device to work after installing it. Comes up with the error message: File does not have a program associated with it for performing this action. Can you please advise what I am doing wrong? Thanks.
Stuart.
@Storm – Sounds like another program is setting your default to the Game Zero…do you have Sennheiser software installed? Also, what OS are you on?
@KaFu – I’m getting the same error on Win10 as Torsten. I haven’t tried debugging it yet, but it’s super annoying 🙁
This is a great program and just what I was looking for. I run a Soundblaster Z card and I have two headsets I use as well. This has been great for changing between sound card and different headsets.
I am having one issue where I cannot change the default sound device. My Game Zero headset is the first device and my SB sound card is like the third drive. I change the default sound to the SB card but on every reboot it goes and defaults back to the Game Zero headset. So now I have to constantly reset this … a little help would be appreciated.
Hi and thanks for the program and your work. i have problems on win 10 1511. every time i switch output device i get an
error 0,
did you install a new version of ssd? try to re-create the shortcuts.
7777hidden
7777hidden
prompt. i created the shortcuts first with version 2.1. then i tried the 2.1 beta, delete ssd.ini and shortcuts, recreated them and get the same error. any idea what to do to get rid of this error prompt? thanks in advance for help and greetings from Germany
Torsten
Hi Torsten,
currently I’m still running Win8.1, I guess I have to updated to Win10 sometime soon. I’ll see what I can do.
Gruß aus Hamburg
Karsten
Great program by the way for switching between my VOIP headset and speakers. I mentioned in a previous comment (not sure if it got to you) that I can’t pin most of the shortcuts I’ve created to the taskbar. I could earlier today but now I can’t. One shortcut I created earlier that switches to the speakers is able to be pinned. I noticed that in Properties, the “Target” leads to the SSD.exe file followed by a string of numbers and the word hidden. The shortcuts that can’t be pinned (but they still work from my desktop -just less convenient) don’t point there, they point to a .bat file on my desktop where the shortcut resides. It’s a combination shortcut for both my playback and recording functions.
At first they could be pinned, now they can’t. In between I made a few changes including the SSD program file name (so I’d remember what the program did) but then I immediately changed it back to the original. I also have the program on my D drive and I may have installed the other file (maybe an ini file? I can’t recall) on my C drive. Not sure if any of that matters but it would be great to be able to get these on my task bar so they aren’t hidden by open windows.
One other question. Once I pin them to my taskbar, can I delete them from my desktop?
Hi David,
glad you like it :). I never had problems with pinning the shortcuts to the taskbar, that’s how I use it too, and currently I’m not able to reproduce the problems. What I would suggest is that you re-create the shortcuts directly in the programs folder on your d:\ drive and then drag them to the taskbar, that should work. As far as I can see, Windows seems to create a copy of the shortcut when it’s pinned to the taskbar, so deleting the original shortcuts should just work fine. Hope that helps.
Regards
Karsten
It worked at first, but now it won’t allow me to copy the shortcuts from my desktop or from another folder onto the Windows 7 taskbar. I can pin other programs from my desktop but not these shortcuts.
Any ideas why?
Hi, what a fantastic bit of software to overcome this very annoying situation with the audio. Very easy to install and use. Any suggestions to stop the “unknown publisher” box that I need to check every time a run it in windows 7?
Hi James,
glad you like SSD :). What you describe sounds like the Windows “Zone Identifier” to me. Windows marks all downloaded executables as potential harmful. When you start SSD, on the “Unknown Publisher” dialog there is a checkbox “Always ask before opening this file”, uncheck that. Alternatively you can open the file properties (right-click on file) and click “Unblock”. Hope that helps.
Best Regards
Karsten
Thanks for the reply,
I have a headset with a microphone plugged in front of my pc, and a 5.1 speakers on the back, I don’t disconnect them.
It’s the same problem with the beta exe (only the windows panel appear), i’ll try to reset my drivers or things like that. I’ll keep you in touch if anything new happen.
Regards,
I’ve sent you an email with some questions for clarification.