I have written a program using Windows Multimedia API to record voice from the microphone and store this recorded data in a fixed amount buffer. When the buffer is filled, retrieve the data from the buffer and output to the PC speakers. The microphone and the speakers are connected to the soundcard of the PC.
How to I write the program to input and output the voice signal using Windows Multimedia API in realtime?
I am using a full duplex sound card.