Belphemur / SoundSwitch

C# application to switch default playing device. Download: https://soundswitch.aaflalo.me/
https://soundswitch.aaflalo.me/
GNU General Public License v2.0
2.45k stars 175 forks source link

Lock in speaker setup selection. #835

Open Stanseas opened 2 years ago

Stanseas commented 2 years ago

Describe the solution you'd like Hello! Thank you for making this tool (v6.2.3). I only need it for one thing and that's switching TO "Dolby Atmos for home theater" (typically FROM Stereo, 5.1 or 7.1 when Windows 10 decides to switch it randomly without asking). Generally speaking, I want to be able to "hotkey" select/lock in my speaker setup selections and spatial output so Windows can't automatically change it for whatever reason unless I unlock/release the selection. Then let Windows autodetect and switch but only if I unlock MY selection.

Describe alternatives you've considered I tried to modify/use the sound_switch.ini (shown below) as suggested on GitHub but I must be doing something wrong as it does not do what I need it to. I have tried every AHK solution I could find over the last six months at least. The old school tab,tab,tab,Up8,Dwn5,etc. is inconsistent/unreliable and requires focus to run. No bueno.

[Options]
HideIcon = 0
DisplayTrayTip = 0

[Sound Devices]
Source1=DENON-AVR High Definition Audio Device
Source2=YETI Microphone Yeti Classic

[Speakers]
Set1 = 7.1        ; added for testing purposes
Set2 = Dolby Atmos for home theater

[HotKeys]
DisplayDeviceInfo     =     ^+|            ; Ctrl + Shift + Oem5
SwitchSpeakerCount    =     +|             ; Shift + Oem5

[Strings]
;Even though there's only one device, I added the sound_switch parameter to "Set2" 
;so the defined source will be set as default and default communications device
by adding the parameter to the run line - "C:\Program Files\SoundSwitch\SoundSwitch.exe" -Set2

Additional context Any suggestions or links to solutions would be wonderful - not trying to create unnecessary work.

felipecrs commented 1 year ago

I have some sort of similar situation: I have a desk microphone, but I often switch between a speaker, bluetooth headset and a gaming headset.

However, I'd like to pin/lock the Recording device to my desk microphone no matter if new devices are plugged in.

Should I write a different issue for this?