When recording waveform audio, you can control when recording starts and stops. Use the following functions to start and stop recording on a waveform input device:
waveInStart
Starts recording on a waveform input device.
waveInStop
Stops recording on a waveform input device.
waveInReset
Stops recording on a waveform input device. Marks all pending data blocks as done.