31#include "soundprovider.h"
32#include "../../Core/IOData/file_system.h"
39 class InputSourceProvider;
40 class SoundProvider_Wave_Impl;
52 const std::string &filename,
57 const std::string &fullname,
76 std::shared_ptr<SoundProvider_Wave_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
Windows WAVE sample format (.wav) sound provider.
Definition soundprovider_wave.h:44
SoundProvider_Wave(const std::string &filename, const FileSystem &fs, bool stream=false)
Constructs a sound provider based on a Windows wave (.wav) file.
SoundProvider_Session * begin_session() override
Called by SoundBuffer when a new session starts.
~SoundProvider_Wave() override
void end_session(SoundProvider_Session *session) override
Called by SoundBuffer when a session has finished. After this call,.
SoundProvider_Wave(const std::string &fullname, bool stream=false)
friend class SoundProvider_Wave_Session
Definition soundprovider_wave.h:78
SoundProvider_Wave(IODevice &file, bool stream=false)
Sound provider.
Definition soundprovider.h:46