Solved Quickly switch default audio from speakers to HDMI and visa versa

hhaddow990

New member
Local time
2:10 PM
Messages
8
is there a way to quickly switch default audio from speakers to HDMI and visa versa with one click or even automatically switch to HDMI when displaying to a 'digital television' (or when an HDMI cable is plugged in) and switch back to speakers when displaying to the 'monitor' (or when the cable is unplugged i am doubtfull of this though as my intel graphic tray has enough trouble switching back to the monitor when the HDMI is unplugged i have to do it manually beforehand)

my main line of though is two batch files, one for switching to HDMI and one to switch to seekers, or one with an if statement i.e.

if (default_audio == Speeaker) set default_audio = HDMI
else set default_audio == Speeaker

can this be done
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64 & x32, Windows 98 (VM)AMD Phenom II X4 8508 GigGeforce
Computer Manufacturer/Model Number
Me (Desktop/x64&Server/x32)/Dell (laptop/x32)
OS
Windows 7 Ultimate x64 & x32, Windows 98 (VM)
CPU
AMD Phenom II X4 850
Motherboard
ASUS
Memory
8 Gig
Graphics Card(s)
Geforce
Sound Card
Onboard
Monitor(s) Displays
2
Hard Drives
Desktop 5 (x3 500GB x1 750GB x1 1TB)
Server 3 (x1 60GB x2 2TB)
PSU
650W
Case
1mm Steel
Cooling
Heatsink/Fan Cold air from window

My Computer My Computer

At a glance

Windows 7 Ultimate x64 & x32, Windows 98 (VM)AMD Phenom II X4 8508 GigGeforce
Computer Manufacturer/Model Number
Me (Desktop/x64&Server/x32)/Dell (laptop/x32)
OS
Windows 7 Ultimate x64 & x32, Windows 98 (VM)
CPU
AMD Phenom II X4 850
Motherboard
ASUS
Memory
8 Gig
Graphics Card(s)
Geforce
Sound Card
Onboard
Monitor(s) Displays
2
Hard Drives
Desktop 5 (x3 500GB x1 750GB x1 1TB)
Server 3 (x1 60GB x2 2TB)
PSU
650W
Case
1mm Steel
Cooling
Heatsink/Fan Cold air from window
Win7 Audio Switcher is easy

I had previously found another solution:

Win7AudioSwitcher | Free software downloads at SourceForge.net

It can either autorun or be manually started and quit, gives a handy tray icon, and takes a 'mere' meg of memory. On my system it just works out of the box. The suggested AutoHotKey may be the greatest but if you read the comments there you'll see there's a learning curve and possible script editing tweaks needed.
 

My Computer My Computer

At a glance

Windows 7 Professional SP1 64-bitIntel Core i5 3570K @ 3.40GHz8.00GB Dual-Channel DDR3 @ 802MHz1024MB ATI AMD Radeon HD 6670
Computer type
PC/Desktop
Computer Manufacturer/Model Number
home-made 2008
OS
Windows 7 Professional SP1 64-bit
CPU
Intel Core i5 3570K @ 3.40GHz
Motherboard
ASUSTeK COMPUTER INC. P8Z77-V LX
Memory
8.00GB Dual-Channel DDR3 @ 802MHz
Graphics Card(s)
1024MB ATI AMD Radeon HD 6670
Sound Card
N.A. - mobo sound
Monitor(s) Displays
HP V242h 24' + HITACHI 51F59 HDTV
Screen Resolution
1920x1080
Hard Drives
Transcend 480 GB TLC SATA III 2.5' Solid State Drive
313GB Seagate ST3320620AS ATA Device (SATA)
977GB Western Digital WDC WD1001FAES-22W7A0 ATA Device (SATA)
320GB Seagate FreeAgent GoFlex USB external
PSU
RAIDMAX 530W Modular
Case
CoolerMaster HAF912Plus
Cooling
built-in CPU and case + Coolermaster Megaflow
Keyboard
Logitech Illuminated Keyboard K740
Mouse
iOne Lynx S2 mouse
Antivirus
Panda, Malwarebytes
Browser
Firefox 54.01
Back
Top