Hi everyone, I'm developing a application with voice commands and I'm looking for a way to detect when something is plugged into one of the audio jacks on a computer. It doesn't matter whether it's the headphone or microphone jack. I just need to know when SOMETHING gets plugged in or unplugged. I've searched all kinds of forums and everyone always answers that Mics aren't digital and they can't be detected. I know that. Like I said, I just need to know how to tell when something, it doesn't matter what it is, is plugged in or removed from any of the audio jacks. I hope I've been clear on what I need to do.