Getting the Current Position of Waveform Devices

While playing or recording waveform audio, you can query the device for the current playback or recording position. Use the following functions to determine the current position of a waveform device:

waveInGetPosition

Retrieves the current recording position of a waveform input device.

waveOutGetPosition

Retrieves the current playback position of a waveform output device.