Reference

CL_StreamSoundProvider(3)

Streamed soundprovider.

NAME

CL_StreamSoundProvider - Streamed soundprovider.

DESCRIPTION

Interface to streamed sound sources. Used by the CL_SoundBuffer class to start and stop playback.

CLASS MEMBERS

virtual ~CL_StreamSoundProvider()
virtual CL_StreamSoundProvider_Session *begin_session()
virtual void end_session(
CL_StreamSoundProvider_Session *session)

MEMBERS WITH DESCRIPTIONS

virtual ~CL_StreamSoundProvider()
Description:

virtual CL_StreamSoundProvider_Session *begin_session()
Description:

Called by CL_SoundBuffer when a new session starts.

Return value:

The soundbuffer session to be attached to the newly started session.

virtual void end_session(
CL_StreamSoundProvider_Session *session)

Description:

Called by CL_SoundBuffer when a session has finished. After this call,CL_SoundBuffer will not access the session anymore. It can safely be deletedhere (and in most cases should be delete here).

SEE ALSO

All ClanLib API classes can be found in clanlib (3).

AUTHORS

Originally written by Magnus Norddahl <[email protected]> and Martin Starch <[email protected]>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at http://somewhere.in.the.world.org).

See clanlib (3) to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.