|This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.|
Monitor the current playback position within the data block by using the waveOutGetPositionor the waveInGetPositionfunction and the MMTIMEstructure. Use the MMTIMEstructure to represent time in one or more different formats, including milliseconds, samples, a MIDI song pointer, or the Society of Motion Picture and Television Engineers (SMPTE) time formats. The wTypemember specifies the format that is used to represent time.
To retrieve the current playback position
While calling this function, pass the MMTIMEstructure in the pmmtparameter.
If the device does not support the time format, the device driver specifies the time in an alternate time format and changes wTypeto the selected time format.
Most waveform audio devices support samples as the preferred time format. Thus, a waveform audio device usually describes its current position in a .wav file as the number of samples from the beginning of the waveform audio file.
Last updated on Tuesday, May 18, 2004