CL_SoundBuffer_Session::get_length - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_SoundBuffer_Session::get_length

Returns the total length (in samples) of the sound buffer played.

    	int get_length();

Detailed description:

Value returned will be -1 if the length is unknown (in case of non-static soundeffects like streamed sound)

See also:

CL_SoundBuffer_Session

Questions or comments, write to the ClanLib mailing list.