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