C4 Engine
C4 Engine API Documentation

Sound::GetSoundDuration

Defined in:  C4Sound.h
Returns the duration of a sound.
Prototype

int32 GetSoundDuration(voidconst;

Description
The GetSoundDuration function returns the duration of a sound in milliseconds. If the sound is streaming and has multiple resources in its play list, then the GetSoundDuration function returns the sum of the durations of those resources.