31#include "soundprovider.h"
32#include "../../Core/IOData/file_system.h"
39 class InputSourceProvider;
40 class SoundProvider_Vorbis_Impl;
52 const std::string &filename,
57 const std::string &fullname,
76 std::shared_ptr<SoundProvider_Vorbis_Impl> impl;
Virtual File System (VFS).
Definition: file_system.h:47
I/O Device interface.
Definition: iodevice.h:50
Sound provider playback session.
Definition: soundprovider_session.h:46
Ogg Vorbis format sound provider.
Definition: soundprovider_vorbis.h:44
friend class SoundProvider_Vorbis_Session
Definition: soundprovider_vorbis.h:78
SoundProvider_Vorbis(IODevice &file, bool stream=false)
SoundProvider_Vorbis(const std::string &fullname, 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,.
SoundProvider_Vorbis(const std::string &filename, const FileSystem &fs, bool stream=false)
Constructs a sound provider based on an ogg vorbis (.ogg) file.
Sound provider.
Definition: soundprovider.h:46