A wrapper class for the opus audio decoder.
More...
#include <AudioDecoder.hpp>
|
jsonifier::string_view_base< opus_int16 > | decodeData (jsonifier::string_view_base< uint8_t > dataToDecode) |
| Decode opus audio data. More...
|
|
| opus_decoder_wrapper () |
| Constructor for opus_decoder_wrapper. initializes and configures the opus decoder.
|
|
◆ decodeData()
jsonifier::string_view_base< opus_int16 > discord_core_api::discord_core_internal::opus_decoder_wrapper::decodeData |
( |
jsonifier::string_view_base< uint8_t > |
dataToDecode | ) |
|
|
inline |
- Parameters
-
dataToDecode | the opus-encoded audio data to decode. |
- Returns
- a basic_string_view containing the decoded audio samples.
- Exceptions
-
Definition at line 81 of file AudioDecoder.hpp.
The documentation for this struct was generated from the following file: