This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// headphones-detect.c | |
// Kyle Neideck, [email protected] | |
// | |
// Compile with: | |
// clang -framework CoreAudio -framework CoreFoundation -o headphones-detect headphones-detect.c | |
// | |
// Runs a command when headphones are plugged in to or unplugged from the | |
// built-in audio device. | |
// |