32 #include "soundprovider_type.h"
41 template<
class SoundProv
iderClass>
60 const std::string &filename,
64 return new SoundProviderClass(filename, fs, stream);
72 return new SoundProviderClass(file, stream);
virtual SoundProvider * load(const std::string &filename, bool stream, const FileSystem &fs)
Called to load static with this sound provider type.
Definition: soundprovider_type_register.h:59
Sound provider.
Definition: soundprovider.h:46
SoundProviderType_Register(const std::string &type)
Registers sound provider type in the SoundProviderFactory.
Definition: soundprovider_type_register.h:49
I/O Device interface.
Definition: iodevice.h:51
Sound provider type.
Definition: soundprovider_type.h:45
Virtual File System (VFS).
Definition: file_system.h:48
Class template to register a sound provider type.
Definition: soundprovider_type_register.h:42
virtual SoundProvider * load(IODevice &file, bool stream)
Called to load static with this sound provider type.
Definition: soundprovider_type_register.h:68