Raw PCM sound loader, used as a fallback if other sound loaders fail.
More...
|
bool | Load (SoundEntry &sound, bool new_format, std::vector< std::byte > &data) const override |
|
| SoundLoader (std::string_view name, std::string_view description, int priority) |
|
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) |
|
std::string_view | GetName () const |
|
std::string_view | GetDescription () const |
|
|
static constexpr uint16_t | RAW_SAMPLE_RATE = 11025 |
| Sample rate of raw pcm samples.
|
|
static constexpr uint8_t | RAW_SAMPLE_BITS = 8 |
| Bit depths of raw pcm samples.
|
|
Raw PCM sound loader, used as a fallback if other sound loaders fail.
Definition at line 18 of file soundloader_raw.cpp.
◆ SoundLoader_Raw()
SoundLoader_Raw::SoundLoader_Raw |
( |
| ) |
|
|
inline |
◆ Load()
bool SoundLoader_Raw::Load |
( |
SoundEntry & |
sound, |
|
|
bool |
new_format, |
|
|
std::vector< std::byte > & |
data |
|
) |
| const |
|
inlineoverridevirtual |
◆ instance
◆ RAW_SAMPLE_BITS
constexpr uint8_t SoundLoader_Raw::RAW_SAMPLE_BITS = 8 |
|
staticconstexpr |
◆ RAW_SAMPLE_RATE
constexpr uint16_t SoundLoader_Raw::RAW_SAMPLE_RATE = 11025 |
|
staticconstexpr |
The documentation for this class was generated from the following file: