MODIFIED:
Hi all, I need to detect if any data sent to Audio Card during a period of time.
Thanks to Philip Regan's help, I found a simple sample code about audio recording as shown in following link:
and I managed to run it successfully.
But it seems that it records sound from internal microphone, for, when dumping the captured signal to screen in format of Hex, if I mute the internal microphone, data captured turn out to be all zero values, otherwise, the output data will be random numbers.
Unfortunately, if I mute the internal microphone, nothing can be captured, else, I can't test is any voice from another computer because of the noice from microphone.
In this situation, capture the out-coming signal of Audio Card will help. But I don't know how to capture it.
Any ideas?