Welcome to the new platform of Programmers Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use it's exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
I am trying to write a VB program that will detect if audio is coming into the microphone or line-in ports.
Perhaps one way to do this is to read the ADC register which constains digitized samples and verifying that it doesn't equal 0x0000?
I have never done anythign like this before so any suggestions will be helpful.