ClanLib
2.3.7
|
Ogg Vorbis format sound provider. More...
#include <soundprovider_vorbis.h>
Public Member Functions | |
Construction | |
CL_SoundProvider_Vorbis (const CL_String &filename, const CL_VirtualDirectory &directory, bool stream=false) | |
Constructs a sound provider based on an ogg vorbis (.ogg) file. More... | |
CL_SoundProvider_Vorbis (const CL_String &fullname, bool stream=false) | |
CL_SoundProvider_Vorbis (CL_IODevice &file, bool stream=false) | |
virtual | ~CL_SoundProvider_Vorbis () |
Operations | |
virtual CL_SoundProvider_Session * | begin_session () |
Called by CL_SoundBuffer when a new session starts. More... | |
virtual void | end_session (CL_SoundProvider_Session *session) |
Called by CL_SoundBuffer when a session has finished. After this call,. More... | |
Implementation | |
class | CL_SoundProvider_Vorbis_Session |
Ogg Vorbis format sound provider.
CL_SoundProvider_Vorbis::CL_SoundProvider_Vorbis | ( | const CL_String & | filename, |
const CL_VirtualDirectory & | directory, | ||
bool | stream = false |
||
) |
Constructs a sound provider based on an ogg vorbis (.ogg) file.
filename | Filename of module file. |
provider | Input source provider used to retrieve module file. |
stream | If true, will stream from disk. If false, will load it to memory. |
CL_SoundProvider_Vorbis::CL_SoundProvider_Vorbis | ( | const CL_String & | fullname, |
bool | stream = false |
||
) |
CL_SoundProvider_Vorbis::CL_SoundProvider_Vorbis | ( | CL_IODevice & | file, |
bool | stream = false |
||
) |
|
virtual |
|
virtual |
Called by CL_SoundBuffer when a new session starts.
Implements CL_SoundProvider.
|
virtual |
Called by CL_SoundBuffer when a session has finished. After this call,.
CL_SoundBuffer will not access the session anymore. It can safely be deleted here (and in most cases should be delete here).
Implements CL_SoundProvider.
|
friend |