This behaviour has just started – I was using the same mix of applications yesterday and haven’t (intentionally) updated them or installed anything new. The behaviour is that every time I switch focus to mintty (version 3.8.1) my audio gets muted. Switching to other applications doesn’t trigger this.
System details: Windows 10, USB audio (a Trust branded headset). A few unusual applications are in use, with prime candidate being AutoHotKey (which I use to provide a mute button via the scroll lock key). Otherwise, running software is chrome, edge, visual studio code, and my employer’s custom communication tool written in Java/SWT.
The relevant part of my AutoHotKey script is this:
ScrollLock::Send "{Volume_Mute}"
Disabling this stops it happening, but I’m not pressing the scroll lock key, so I don’t understand why it’s being triggered. How do I stop this issue happening without disabling my autohotkey script?