NNS_SndPlayerSetTempoRatio

Syntax

#include <nnsys/snd.h>
void NNS_SndPlayerSetTempoRatio( NNSSndHandle* handle, int ratio );

Arguments

handle The sound handle pointer.
ratio Tempo magnification factor

Return Values

None.

Description

Changes tempo of a sequence.

This function changes the tempo of a sequence that is bound to the sound handle handle. This function does not perform any action if the sound handle is invalid.

The original tempo is multiplied by ratio/256. (The tempo does not accumulate each time the function is called.)

See Also

None.

Revision History

2004/06/01 Revised to state that the Sound Handle binds to the sequence
2004/04/01 Initial version


CONFIDENTIAL