Microsoft DirectX 8.0 (Visual Basic) |
Retrieves the tempo at a given time.
object.GetTempo( _ mtTime As Long, _ mtUntil As Long _ ) As Double
Returns the tempo, in beats per minute. This value is in the range from DMUS_TEMPO_MIN through DMUS_TEMPO_MAX (see CONST_DMUS).
If the method fails, it raises an error, and Err.Number can be set to one of the following values:
DMUS_E_NO_MASTER_CLOCK |
DMUS_E_GET_UNSUPPORTED |
DMUS_E_NOT_FOUND |
DMUS_E_TRACK_NOT_FOUND |