Opus sound loader.
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 |
|
Opus sound loader.
Definition at line 22 of file soundloader_opus.cpp.
◆ SoundLoader_Opus()
SoundLoader_Opus::SoundLoader_Opus |
( |
| ) |
|
|
inline |
◆ Load()
bool SoundLoader_Opus::Load |
( |
SoundEntry & |
sound, |
|
|
bool |
new_format, |
|
|
std::vector< std::byte > & |
data |
|
) |
| const |
|
inlineoverridevirtual |
◆ DECODE_BUFFER_BYTES
constexpr size_t SoundLoader_Opus::DECODE_BUFFER_BYTES = DECODE_BUFFER_SAMPLES * sizeof(opus_int16) |
|
staticconstexpr |
◆ DECODE_BUFFER_SAMPLES
constexpr size_t SoundLoader_Opus::DECODE_BUFFER_SAMPLES = 5760 * 2 |
|
staticconstexpr |
◆ instance
◆ MIN_OPUS_FILE_SIZE
constexpr size_t SoundLoader_Opus::MIN_OPUS_FILE_SIZE = 57U |
|
staticconstexpr |
◆ OPUS_SAMPLE_BITS
constexpr uint8_t SoundLoader_Opus::OPUS_SAMPLE_BITS = 16 |
|
staticconstexpr |
◆ OPUS_SAMPLE_RATE
constexpr uint16_t SoundLoader_Opus::OPUS_SAMPLE_RATE = 48000 |
|
staticconstexpr |
The documentation for this class was generated from the following file: