EMIPLIB
|
Compress audio using the Skype SILK codec. More...
#include <mipsilkencoder.h>
Public Member Functions | |
bool | init (int inputSamplingRate, MIPTime interval, int targetBitrate, int encoderSamplingRate) |
Initializes the SILK encoder. | |
bool | destroy () |
De-initializes the SILK encoder. |
Using this component, raw 16 bit raw audio messages can be compressed using the SILK codec. Messages generated by this component are encoded audio messages with subtype MIPENCODEDAUDIOMESSAGE_TYPE_SILK.
bool MIPSILKEncoder::destroy | ( | ) |
bool MIPSILKEncoder::init | ( | int | inputSamplingRate, |
MIPTime | interval, | ||
int | targetBitrate, | ||
int | encoderSamplingRate | ||
) |
Initializes the SILK encoder.
inputSamplingRate | The sampling rate of audio messages going into the component. |
interval | The interval contained in each incoming audio message. Should be a multiple of 20 ms, with a maximum value of 100 ms. |
targetBitrate | The target bitrate of the encoder. |
encoderSamplingRate | The maximum sampling rate used internally by the encoder. |