SND_GetPlayerTickCounter

Syntax

#include <nitro/snd.h>
u32 SND_GetPlayerTickCounter( int playerNo );

Arguments

playerNo The player number. Takes values in the range of 0 to 15.

Return Values

The number of ticks since the Player started.

Description

Gets the player tick counter.

The tick counter's initial value is 0. The variable is initialized when the system is initialized and also when the Player starts.

This function is carried out asynchronously with respect to ARM7 command functions. To achieve synchronization, you must use a function such as SND_IsFinishedCommandTag to confirm that ARM7 commands have finished processing.

See Also

SND_IsFinishedCommandTag

Revision History

2004/07/20 Initial version.


CONFIDENTIAL