DiscordCoreAPI
A Discord bot library written in C++, with custom asynchronous coroutines.
|
Wrapper class for the opus audio encoder. More...
#include <AudioEncoder.hpp>
Public Member Functions | |
encoder_return_data | encodeData (jsonifier::string_view_base< uint8_t > inputFrame) |
Encode opus audio data. More... | |
opus_encoder_wrapper () | |
Constructor for opus_encoder_wrapper. initializes and configures the opus encoder. | |
|
inline |
inputFrame | the audio data to encode. |
dca_exception | if encoding fails. |
Definition at line 86 of file AudioEncoder.hpp.