32 #include "soundprovider.h"
33 #include "../../Core/IOData/file_system.h"
40 class InputSourceProvider;
41 class SoundProvider_Vorbis_Impl;
56 const std::string &filename,
61 const std::string &fullname,
89 std::shared_ptr<SoundProvider_Vorbis_Impl> impl;
Sound provider.
Definition: soundprovider.h:46
SoundProvider_Vorbis(const std::string &filename, const FileSystem &fs, bool stream=false)
Constructs a sound provider based on an ogg vorbis (.ogg) file.
I/O Device interface.
Definition: iodevice.h:51
friend class SoundProvider_Vorbis_Session
Definition: soundprovider_vorbis.h:91
virtual void end_session(SoundProvider_Session *session) override
Called by SoundBuffer when a session has finished. After this call,.
virtual SoundProvider_Session * begin_session() override
Called by SoundBuffer when a new session starts.
Sound provider playback session.
Definition: soundprovider_session.h:46
SoundProvider_Vorbis(IODevice &file, bool stream=false)
Virtual File System (VFS).
Definition: file_system.h:48
SoundProvider_Vorbis(const std::string &fullname, bool stream=false)
Ogg Vorbis format sound provider.
Definition: soundprovider_vorbis.h:45
virtual ~SoundProvider_Vorbis()