Sound::GetSoundDuration
Defined in:
Returns the duration of a sound.
C4Sound.h
Prototype
int32 GetSoundDuration(void) const;
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.