Wav file (RIFF/WAVE) sound loader.
More...
|
| bool | Load (SoundEntry &sound, bool new_format, std::vector< std::byte > &data) const override |
| | Load a sound from the file and offset in the given sound entry.
|
| | SoundLoader (std::string_view name, std::string_view description, int priority) |
| | ~SoundLoader () override |
| | Unregister this sound loader.
|
| constexpr | PriorityBaseProvider (std::string_view name, std::string_view description, int priority) |
| int | GetPriority () const |
| constexpr | BaseProvider (std::string_view name, std::string_view description) |
|
virtual | ~BaseProvider ()=default |
| | Ensure the destructor of the sub classes are called as well.
|
| std::string_view | GetName () const |
| std::string_view | GetDescription () const |
Wav file (RIFF/WAVE) sound loader.
Definition at line 20 of file soundloader_wav.cpp.
◆ SoundLoader_Wav()
| SoundLoader_Wav::SoundLoader_Wav |
( |
| ) |
|
|
inline |
◆ Load()
| bool SoundLoader_Wav::Load |
( |
SoundEntry & | sound, |
|
|
bool | new_format, |
|
|
std::vector< std::byte > & | data ) const |
|
inlineoverridevirtual |
◆ DEFAULT_SAMPLE_RATE
| uint16_t SoundLoader_Wav::DEFAULT_SAMPLE_RATE = 11025 |
|
staticconstexpr |
◆ instance
The documentation for this class was generated from the following file: