ClanLib
2.3.7
|
Module format (.mod, .s3m, .xm, etc) sound provider. More...
#include <soundprovider_mikmod.h>
Public Member Functions | |
Construction | |
CL_SoundProvider_MikMod (const CL_String &filename, const CL_VirtualDirectory &provider, bool stream=false) | |
Constructs a sound provider based on a MikMod compatible module file. More... | |
CL_SoundProvider_MikMod (const CL_String &fullname, bool stream=false) | |
CL_SoundProvider_MikMod (CL_IODevice &file, bool stream=false) | |
virtual | ~CL_SoundProvider_MikMod () |
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_MikMod_Session |
Module format (.mod, .s3m, .xm, etc) sound provider.
CL_SoundProvider_MikMod::CL_SoundProvider_MikMod | ( | const CL_String & | filename, |
const CL_VirtualDirectory & | provider, | ||
bool | stream = false |
||
) |
Constructs a sound provider based on a MikMod compatible module 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_MikMod::CL_SoundProvider_MikMod | ( | const CL_String & | fullname, |
bool | stream = false |
||
) |
CL_SoundProvider_MikMod::CL_SoundProvider_MikMod | ( | 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 |