Discreet HeadPhones is a Windows Service which mutes the audio device once the headphones are unplugged.