Introduction - If you have any usage issues, please Google them yourself
DirectSound7 use this procedure to achieve the sound collection and display its waveform, the advantages of the code is very simple, the disadvantage of comparing consumption CPU, should be collected for each need to empty the Buffer. There is a need to look at it and improve what should be relatively easy to use.