Hi,

I've written a program that records a speech sample using a mic, I used the following function
"DWORD WINAPI waveInProc(LPVOID arg)"

to record the input.

I want after a while to stop it, play another file and afterward continue recording.

How can I do that?

thanks