Switchboard SDK
|
Encodes raw audio data using various audio codecs. More...
#include <AudioEncoder.hpp>
Static Public Member Functions | |
static const std::vector< uint8 > | encode (AudioBuffer< float > &buffer, Codec format) |
Encodes the content of the provided audio buffer with the specified codec. | |
Encodes raw audio data using various audio codecs.
AudioEncoder class
|
static |
Encodes the content of the provided audio buffer with the specified codec.
buffer | The audio buffer that holds the raw audio data. |
format | The codec to use to encode the raw audio data. |