|
Setting the Time Format
can represent time in one or more different formats including milliseconds,
samples, Society of Motion Picture and Television Engineers (SMPTE), and MIDI
song-pointer formats. The wType member specifies the format used to represent time. Before calling a function
that uses the MMTIME structure, you must set the wType member to indicate your requested time format. Be sure to check wType after the call to see if the requested time format is supported. If the
requested time format is not supported, the time is specified in an alternate time
format selected by the device driver and the wType member is changed to indicate the selected time format. MMSYSTEM.H defines
the following flags for the wType member of the MMTIME structure.
Flag
| Description
| TIME_MS
| Milliseconds
| TIME_SAMPLES
| Number of waveform audio samples
| TIME_BYTES
| Number of waveform audio bytes
| TIME_SMPTE
| SMPTE time
| TIME_MIDI
| MIDI song-position pointer
|
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Programmer's Reference (win32.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|