C4 Engine
C4 Engine API Documentation

Sound::GetLoopCount

Defined in:  C4Sound.h
Returns the number of times that a sound will loop.
Prototype

int32 GetLoopCount(voidconst;

Description
The GetLoopCount function returns the number of times that the sound will loop when it is played. If the sound is set to loop forever, the constant kSoundLoopInfinite is returned. The loop count can be set by calling the Sound::SetLoopCount function.

A sound's initial loop count is 1.
See Also

Sound::SetLoopCount

Sound::GetLoopIndex

Sound::SetLoopIndex

Sound::SetLoopCallback