getSoundLength

AudioModuleInterface::getSoundLength

Returns the length of a sound.

Declaration

virtual float getSoundLength(SoundID soundID) = 0;

Parameters

Name

Type

Description

soundID

SoundID

The sound to get the length of.

Returns

The length of the sound, in seconds.