Raw PCM sound loader, used as a fallback if other sound loaders fail.
More...
|
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< uint8_t > & |
data |
|
) |
| |
|
inlineoverridevirtual |
◆ 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: