NNS_SndPlayerSetTempoRatio

C Specification

#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

This function changes the tempo.

The tempo of the sequence that is bound to the Sound Handle is changed. This function does not perform any action if the stream handle is invalid.

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

See Also

None.

Revision History

06/01/2004 Revised to state that the Sound Handle binds to the sequence.

04/01/2004 Initial version.