Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
Switch audio outputs in Windows 10
Switch audio outputs in Windows 10
Hi everyone,
I'm new to Eventghost but have it running a few things successfully for about a week now. I'm wondering if anyone can help me with switching audio ouputs on Windows 10. Basically I have a gaming PC that I also watch movies on. When I'm gaming I use headphones and when I'm watching movies I do it through Plex.
What I'd like to happen is that when I open Plex it will switch from using the headphones on my PC to the HDMI audio output in Windows and then when I exit Plex it switches it back. Is this possible ? Any help appreciated!
Thanks
I'm new to Eventghost but have it running a few things successfully for about a week now. I'm wondering if anyone can help me with switching audio ouputs on Windows 10. Basically I have a gaming PC that I also watch movies on. When I'm gaming I use headphones and when I'm watching movies I do it through Plex.
What I'd like to happen is that when I open Plex it will switch from using the headphones on my PC to the HDMI audio output in Windows and then when I exit Plex it switches it back. Is this possible ? Any help appreciated!
Thanks
Re: Switch audio outputs in Windows 10
There is a plugin AudioEndpoint that might work in Windows 10 (Haven't tried the plugin).
jonib
Can't you set the audio device in Plexs settings? I use my PC speakers normally but when I start Kodi, it uses my TVs speakers, as that's what I setup in Kodi.Kwao wrote:Basically I have a gaming PC that I also watch movies on. When I'm gaming I use headphones and when I'm watching movies I do it through Plex.
When I want to play games on my TV and need to change speakers, I use a program NirCMD to change the default audio device in Windows 7, don't know if it still works in Windows 10.I'm wondering if anyone can help me with switching audio ouputs on Windows 10.
jonib
Re: Switch audio outputs in Windows 10
Thanks for the help and links I'll check out both of those programs 
Re: Switch audio outputs in Windows 10
I can confirm that this works, I use it on windows 10 to switch between audio output from intarnal speakers on my laptop and HDMI output.jonib wrote: When I want to play games on my TV and need to change speakers, I use a program NirCMD to change the default audio device in Windows 7, don't know if it still works in Windows 10.
jonib
Here us a guide to how to creat a batch file that will switch default audio and microphone device, then u can simply run the batch file from EG to automate it.
http://www.microsoftnow.com/2013/05/cre ... ndows.html
Re: Switch audio outputs in Windows 10
The AudioEndpoint plugin works as well and is more convenient than using NirCmd with EventGhost
-
Atramhasis
- Posts: 13
- Joined: Sun Feb 18, 2007 8:50 am
Re: Switch audio outputs in Windows 10
In the Anniversary Update (Windows 10 1607) there is the new switch for audio output devices on the speaker symbol in the notification area. How could we get access to it with EventGhost? Has someone knowledge and time to check this?
Re: Switch audio outputs in Windows 10
What access do you want? It seems to be just a faster way to manually change the audio output.Atramhasis wrote:In the Anniversary Update (Windows 10 1607) there is the new switch for audio output devices on the speaker symbol in the notification area. How could we get access to it with EventGhost? Has someone knowledge and time to check this?
jonib
- kgschlosser
- Site Admin
- Posts: 5190
- Joined: Fri Jun 05, 2015 5:43 am
- Location: Rocky Mountains, Colorado USA
Re: Switch audio outputs in Windows 10
I do not use Windows 10 but upon doing a little searching I found this utility
https://github.com/Belphemur/SoundSwitch/releases
And this will allow you to select audio devices and change them with a hotkey that you specify. And you would use the keyboard emulator in EG to press those keys to change the audio source.
Now you can also use NirCMD to do the same from a command line as well. Little more involved but doesn't have an app always running to monitor for the hotkey presses.
I am not sure if audio endpoint works with Windows 10 as it is still being currently supported I would imagine it does. But this is another solution if anyone wanted to know. This method does not change audio devices upon plugging and unplugging of something like headphones. I believe audio endpoint does. But if you are looking for a way to do it programmatically based on something like what program is running. This will accomplish that with something like the process watcher plugin to tell you when a specific program starts or stops.
https://github.com/Belphemur/SoundSwitch/releases
And this will allow you to select audio devices and change them with a hotkey that you specify. And you would use the keyboard emulator in EG to press those keys to change the audio source.
Now you can also use NirCMD to do the same from a command line as well. Little more involved but doesn't have an app always running to monitor for the hotkey presses.
I am not sure if audio endpoint works with Windows 10 as it is still being currently supported I would imagine it does. But this is another solution if anyone wanted to know. This method does not change audio devices upon plugging and unplugging of something like headphones. I believe audio endpoint does. But if you are looking for a way to do it programmatically based on something like what program is running. This will accomplish that with something like the process watcher plugin to tell you when a specific program starts or stops.
Re: Switch audio outputs in Windows 10
No, I guess you misunderstood the explanation of the plugin. The switching of audio endpoints and the event triggering when an audio endpoint changes are two seperate features - not connected. Try the plugin and you will see.This method does not change audio devices upon plugging and unplugging of something like headphones. I believe audio endpoint does.
-
Atramhasis
- Posts: 13
- Joined: Sun Feb 18, 2007 8:50 am
Re: Switch audio outputs in Windows 10
The best way would be to add this Option in "Add Action > System > Sound Card", something like "Change Output". Other way would be a plugin. Both solutions have to Access the Windows API somehow, if there is one for this functionality.jonib wrote:What access do you want? It seems to be just a faster way to manually change the audio output.Atramhasis wrote:In the Anniversary Update (Windows 10 1607) there is the new switch for audio output devices on the speaker symbol in the notification area. How could we get access to it with EventGhost? Has someone knowledge and time to check this?
jonib
Re: Switch audio outputs in Windows 10
Is the AudioEndpoint plugin not working in Windows 10? As it seems exactly what you are describing.Atramhasis wrote:The best way would be to add this Option in "Add Action > System > Sound Card", something like "Change Output". Other way would be a plugin. Both solutions have to Access the Windows API somehow, if there is one for this functionality.
jonib
Re: Switch audio outputs in Windows 10
... It is working with Windows 10, I don't know why he doesn't like it
-
Atramhasis
- Posts: 13
- Joined: Sun Feb 18, 2007 8:50 am
Re: Switch audio outputs in Windows 10
Sorry, my fault, it works! Thanks.


