I've decided to try jumping ship and code something entirely new based on Casey's code.
Currently, this is what I did so far:
I am looking around in the MSDN documentation on IDirectSound8 to see if there are some articles telling you how to capture microphone inputs.
My guess is that if you could grab the sample values of the microphone inputs and put the values into the Secondary Buffer, you would be able to hear what you say into the microphone.
But, as a novice IDirectSound8 user, I am lost after looking for it for a while. If anyone could point me the path, I will be grateful for your help.
Thanks in advance.