Sound::GetDuration
Defined in: C4Sound.h
Returns the duration of a sound.
Prototype
long GetDuration(void) const;
Description
The GetDuration function returns the duration of a sound in milliseconds. If the sound is streaming and has multiple resources in its play list, then the GetDuration function returns the sum of the durations of those resources.
|