Ogg Vorbis format sound provider. More...
#include <soundprovider_vorbis.h>
Inheritance diagram for clan::SoundProvider_Vorbis:Public Member Functions | |
| SoundProvider_Vorbis (const std::string &filename, const FileSystem &fs, bool stream=false) | |
| Constructs a sound provider based on an ogg vorbis (.ogg) file. | |
| SoundProvider_Vorbis (const std::string &fullname, bool stream=false) | |
| SoundProvider_Vorbis (IODevice &file, bool stream=false) | |
| virtual | ~SoundProvider_Vorbis () |
| virtual SoundProvider_Session * | begin_session () override |
| Called by SoundBuffer when a new session starts. | |
| virtual void | end_session (SoundProvider_Session *session) override |
| Called by SoundBuffer when a session has finished. After this call,. | |
Public Member Functions inherited from clan::SoundProvider | |
| SoundProvider () | |
| virtual | ~SoundProvider () |
Friends | |
| class | SoundProvider_Vorbis_Session |
Ogg Vorbis format sound provider.
| clan::SoundProvider_Vorbis::SoundProvider_Vorbis | ( | const std::string & | filename, |
| const FileSystem & | fs, | ||
| 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. |
| clan::SoundProvider_Vorbis::SoundProvider_Vorbis | ( | const std::string & | fullname, |
| bool | stream = false ) |
| clan::SoundProvider_Vorbis::SoundProvider_Vorbis | ( | IODevice & | file, |
| bool | stream = false ) |
|
virtual |
|
overridevirtual |
Called by SoundBuffer when a new session starts.
Implements clan::SoundProvider.
|
overridevirtual |
Called by SoundBuffer when a session has finished. After this call,.
SoundBuffer will not access the session anymore. It can safely be deleted here (and in most cases should be delete here).
Implements clan::SoundProvider.
|
friend |