How to switch a Sound Ouput Device before the Mac goes to sleep?
Posted
by
Konzepz
on Super User
See other posts from Super User
or by Konzepz
Published on 2011-01-05T11:49:17Z
Indexed on
2011/01/05
11:55 UTC
Read the original article
Hit count: 239
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!
© Super User or respective owner