Recording Waveform Data

After opening a waveform input device, you can begin recording waveform data. To record waveform data, you must supply the waveform input device with data buffers. These data buffers must be prepared before being sent to the waveform device. Use the following functions to prepare data buffers and send them to waveform input devices:

waveInAddBuffer

Sends a data buffer to a waveform output device. The data buffer is filled with recorded waveform data and sent back to the application.

waveInPrepareHeader

Informs the waveform input device driver that the given data buffer should be prepared for recording.

waveInUnprepareHeader

Informs the waveform input device driver that the preparation performed on the given data buffer can be cleaned up.