How to switch a Sound Ouput Device before the Mac goes to sleep?
- by Konzepz
I've connected my MacBook to a set of external speakers with a USB. Now, every time the computer goes to Sleep Mode, there's an awful static sound coming from the speakers.
I guess this is some bad wiring; but that's what I've got.
However, I can use an idea for a script (AppleScript, bash, whatever) that will switch off the USB output sound in (System Preferences) before the computer goes to sleep, and will switch it back on (if exists) on Wake.
Any ideas? Thanks!