CL_SoundBuffer_Session::get_position_relative - ClanLib Game SDK

Home | All Classes | Grouped Classes | Index | Search

# CL_SoundBuffer_Session::get_position_relative

Returns the sample position relative to the full length.

    	float get_position_relative();

Detailed description:

The value returned will be between 0 and 1, where 0 means the session is at the beginning, and 1 means that the soundeffect has reached the end.

See also:

CL_SoundBuffer_Session

Questions or comments, write to the ClanLib mailing list.