alCSeqSecToTicks (function)

Converts from seconds to MIDI clock ticks

Syntax

#include <libaudio.h>     /* libaudio.h */
u32 alCSeqSecToTicks(ALCSeq *seq, float sec, u32 tempo);

Arguments

seq
Pointer to the ALCSeq structure on which you want to operate

sec
Number of seconds that you want to convert to ticks

tempo
Sequence tempo in microseconds per tick

Description

MIDI sequences represent time in clock ticks relative to some tempo. alCSeqSecToTickst converts from seconds to clock ticks. This function does not take into account the tempo changes listed in the sequence.

See Also

alCSeq, alCSeqTicksToSec

Revision History

1999/04/30 Changed Format