Shop Mobile More Submit  Join Login
Headphone Speaker Switcher 1.2 by S4wny Headphone Speaker Switcher 1.2 by S4wny
Rainmeter skin used to switch between headphones and speakers.

If it doesn't work edit the numbers in the .ini file:

[Variables]
headphones=0
speakers=1

To get the correct nubmers open "playback devices" in windows (right click the sound icon in the taskbar).
The item at top the is item number 0. Next item is number 1 and so on.
See this image to understand better what the numbers stand for: github.com/s4wny/rainmeter-hea…

----------

Designers feel free to fork and rework this design. I haven't seen any other skin that does this and works and I think a lot of people actually want this. So would be great if people helped redesigning and spreading this. :)

- Full source code can be found here: github.com/s4wny/rainmeter-hea…

----

2015-01-20: Fixed the MSVCP120D.dll problem. Thanks to kyunid that explained how I could solve it! 
Add a Comment:
 
:iconsyriph:
Syriph Featured By Owner May 11, 2017  New Deviant
Thank you !!! so much . honestly . lifesaver!. i will start working on making it aesthetic. :D
Reply
:iconatshields934:
ATShields934 Featured By Owner Feb 8, 2017
Is there any ways to make this to where it can control more than two audio outputs? (Such as headphones, integrated speakers, and external speakers)
Reply
:iconjokermcjokeface:
JokerMcJokeface Featured By Owner Dec 27, 2016
This is really helpful! Thank you for this skin!
Before I had this skin I had to constantly switch the plugs in the back of my PC... that was really awful.
Reply
:iconjaakkex:
JAAKKEx Featured By Owner Oct 26, 2016
Help me please!!!! the Headphones button doesnt work 
Reply
:iconmrplan:
MrPlan Featured By Owner Aug 13, 2016
LOVE it! Thank you :)

I am working with the Radian Linear Visualizer 1.9.3... I have found that the switch does not seem to allow the visualizer to operate on both selections and am contacting the author to help me with the code... If you have a suggestion that would be great. I have NOT yet tested this behavior on other visualizers so... pardon. I am just excited and wanted to say thank you right away. :)

Mr Plan
Reply
:iconaj1206:
aj1206 Featured By Owner Jun 21, 2016
Hey thank you so much for the perfect plugin. Is there anyway I can edit to say "Headphones" and "Speaker" side by side and not under one another? Thanks a lot.
Reply
:iconashmuir:
ashmuir Featured By Owner Jul 4, 2016
Edit the X/Y options under [StrSpeakers] in the .ini

X=160 Y=00 works for me
Reply
:iconkatubish:
katubish Featured By Owner Jun 16, 2016  Hobbyist Traditional Artist
I wanted to thank you for this awesome tool. It's unique and absolutely one of the most useful tools I've got on rainmeter now. :D
Reply
:iconstormtrooper595:
Stormtrooper595 Featured By Owner May 28, 2016
This is a great skin for Rainmeter, I switched the font to match the current setup I have, but it works perfect for what I need! :) 
Reply
:iconkhankhaar:
KhanKhaar Featured By Owner Edited May 28, 2016  Student General Artist
Hey man need your help, I want to change font on the skin but I can't get to it work by just writing the name of the font.

Please help!

update: nvm saw on a msg below what I had to do, thx anyway ;D
Reply
:icondaruude:
daruude Featured By Owner May 4, 2016
I've been using this skin for about a week now and it worked fine. However, just recently, when I clicked on Headphones, instead, the sound would switch to my speakers and vice-versa. Weird glitch but I fixed it by changing the order in the ini file. Even though Speakers was the first item in my Playback Devices, I had to set it to 1 in the ini file for the skin to work properly. Just wanted to share this so that it is known that it occurred.
Reply
:icongrvgb:
Grvgb Featured By Owner Apr 28, 2016
Not working in my case
Reply
:icondavidlit:
DavidLit Featured By Owner Mar 23, 2016
This is great, thank you! I've been trying to change the font but I can't get it to work. I changed it in BaseStyle but nothing happens when I refresh the skin. Any ideas? Thanks again!
Reply
:icons4wny:
S4wny Featured By Owner Apr 9, 2016
Happy you like it :)

Actually I have a typo in the .ini file, "Font=Trebuchet MS" should really be "FontFace=Trebuchet MS" (Font -> FontFace).
Reply
:iconquakshot:
quakshot Featured By Owner Mar 10, 2016
AWESOME! Thanks!
Reply
:iconiveljeto:
Iveljeto Featured By Owner Mar 5, 2016
Mine works perfectly unless I upgrade to the latest AMD Crimson drivers, any reason why that would break it? It allows me to change to my speakers but not to my headset no matter what number is entered
Reply
:iconshovelmonkey95:
ShovelMonkey95 Featured By Owner Feb 9, 2016
I had the problem where there variables were in reverse order, for example, the device at the bottom of the list of playback devices is 0, next one up 1, and so on. So I set the devices I wanted accordingly: the headphones button is set to switch to my computer's speakers (because for some reason my headphones don't show up in the device list, but they work when the computer's speakers are the default device). I set the speaker button to switch to my TV's speakers. When I click the headphones button on the skin, it switches to my computer's speakers like it should. However, my TV speakers become the "default communication device" for some reason. And then when I try the speaker button, it won't switch the default device back to my TV's speakers like it should. Any help?
Reply
:iconk-wall-24:
K-Wall-24 Featured By Owner Feb 3, 2016
This is awesome! Is there any chance you'd make a version of this for audio recording devices?
Reply
:iconscubab:
Scubab Featured By Owner Jan 18, 2016   Photographer
Last night I upgrade my Windows 10 computer to build 10586.29 and it caused this skin to behave in reverse order. By this I mean my what was previously set to '0' and what was set to '1' were now reversed. If I clicked Heaphones, it'd turn on my speakers and vice-versa. 
It was an easy remedy, I just swapped the assigned number in the .ini file, but I wanted to provide a warning to any new comers who might come along, think it's broken, and not give it a try - it's still an amazing skin!
Reply
:iconvinniehzz:
VinnieHzz Featured By Owner Dec 2, 2015
My hero!
Reply
:icontheslateman:
theslateman Featured By Owner Oct 27, 2015
This is *PERFECT*.  This is exactly what I wanted.  Simple.  To-the-point, and works great.  Thank you so much!
Reply
:icons4wny:
S4wny Featured By Owner Jan 5, 2016
I'm glad you like it :)
Reply
:iconcvlawes:
CVLawes Featured By Owner Aug 17, 2015
Hi, 

Thanks for this, I switch between the two often and I've been looking for something like this for ages. 

I've expanded on your idea a bit and found that you can use display switch to do your display controls in the same way:

cvlawes.deviantart.com/art/Dis…

Cheers
Reply
:iconbrainlessuser:
BrainlessUser Featured By Owner Jul 3, 2015
It does not work. in „playback devices” there is only the 0. My computer does not now my headphones for some reason. Any help?
Reply
:icondaoneandonlystevy:
Daoneandonlystevy Featured By Owner Apr 14, 2015
There were some .png files included in the folder, so I figured I rework the skin to just feature those images instead of text. It turned out quite nicely! I even added a bit of code that highlights the selected Playback device, once you've selected one. The only problem with it is on startup neither of the two buttons are highlighted.

Here it is: daoneandonlystevy.deviantart.c…
Reply
:icons4wny:
S4wny Featured By Owner Apr 18, 2015
Nice work :)
Reply
:iconanil23789:
Anil23789 Featured By Owner Apr 13, 2015
there is now no sound coming out of my computer at all, can anyone help me?
Reply
:icontoastedjuice:
toastedjuice Featured By Owner Edited Mar 9, 2015
I love the simplicity of this but I'm having trouble getting it to work. I have installed it and set the variables correctly but when i click the buttons nothing happens, my current playback device stays default. I'm on Win7 64bit, any ideas?

Edit: Got it working. Apparently my device order did not match the number order so I had to experiment with variables.
Reply
:iconamusingosprey:
AmusingOsprey Featured By Owner Mar 3, 2015
Oh yes, super useful thank you so much!
Reply
:iconamusingosprey:
AmusingOsprey Featured By Owner Mar 3, 2015
I take it back, my speakers are now broke.
Reply
:iconphellmagnus:
PhellMagnus Featured By Owner Feb 28, 2015
Thank you. I switch between them everyday, this makes a lot easier.
Reply
:iconhatchikoma:
Hatchikoma Featured By Owner Feb 23, 2015
No prob with it! I am depserately searching for a skin to modify the "windows sound mixer" (y'know, with the indicator for each software -Itunes, internet...-) i even tried to make it myself but.... Any idea?
Reply
:iconw-sharp:
W-sharp Featured By Owner Feb 1, 2015
Works perfect!
I do want to change the font to a custom one though, and I'm kinda noobish, how I do that?
Reply
:iconw-sharp:
W-sharp Featured By Owner Feb 15, 2015
Figured it out.
Reply
:icontawns:
Tawns Featured By Owner Jan 21, 2015
I'v still got the dll. problem, is there some way i can fix it?
Reply
:icons4wny:
S4wny Featured By Owner Jan 21, 2015
Do you still got that MSVCP120D.dll is missing or do you get that MSVCP120.dll is missing? (note the D at the end).

If 
MSVCP120D.dll (D at the end) is missing you still have the old version I think. Maybe deviantart is slow with updating the files? Try this file then: github.com/s4wny/rainmeter-hea…

If 
MSVCP120.dll (no D) is missing you need to install Visual C++ Redistributable Packages from: www.microsoft.com/en-US/downlo…

Reply
:icontawns:
Tawns Featured By Owner Edited Jan 21, 2015
Got the one without the d, installed the vc package and the error disappeared, thanks a lot! this is awesome:)
Reply
:iconpodthegod:
podthegod Featured By Owner Jan 21, 2015
still getting the problem. Can you explain how to fix it?
Reply
:icons4wny:
S4wny Featured By Owner Jan 21, 2015
See my comment to Taws.
Reply
:iconchirsredfield:
ChirsRedfield Featured By Owner Jan 19, 2015
I've been looking for this. And I have a problem:
s9.postimg.org/3lhb1rj33/shhe.…
Could you upload the file?
Reply
:icons4wny:
S4wny Featured By Owner Edited Jan 20, 2015
EDIT: The problem is now fixed! I had included the debug .exe and not the release .exe. 
Reply
Add a Comment:
 
×

:icons4wny: More from S4wny





Details

Submitted on
January 17, 2015
File Size
14.2 KB
Link
Thumb
Embed

Stats

Views
17,621 (6 today)
Favourites
31 (who?)
Comments
41
Downloads
5,152 (1 today)

License

Creative Commons License
Some rights reserved. This work is licensed under a
Creative Commons Attribution 3.0 License.
×