Home | All Classes | Grouped Classes | Index | Search

CL_SoundBuffer::play

Plays the soundbuffer on the specified soundcard.

	CL_SoundBuffer_Session play(
		bool looping = false, CL_SoundOutput* output = 0);

Parameters:

output
Sound output to be used - NULL means use the current selected sound output (CL_Sound::get_selected_output().

Return value:

The playback session.

See also:

CL_Sound | CL_SoundBuffer | CL_SoundBuffer_Session | CL_SoundOutput



Questions or comments, write to the ClanLib mailing list.