EMIPLIB
Public Member Functions

MIPSILKEncoder Class Reference

Compress audio using the Skype SILK codec. More...

#include <mipsilkencoder.h>

Inheritance diagram for MIPSILKEncoder:
Inheritance graph
[legend]
Collaboration diagram for MIPSILKEncoder:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool init (int inputSamplingRate, MIPTime interval, int targetBitrate, int encoderSamplingRate)
 Initializes the SILK encoder.
bool destroy ()
 De-initializes the SILK encoder.

Detailed Description

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.


Member Function Documentation

bool MIPSILKEncoder::destroy ( )
bool MIPSILKEncoder::init ( int  inputSamplingRate,
MIPTime  interval,
int  targetBitrate,
int  encoderSamplingRate 
)

Initializes the SILK encoder.

Parameters:
inputSamplingRateThe sampling rate of audio messages going into the component.
intervalThe interval contained in each incoming audio message. Should be a multiple of 20 ms, with a maximum value of 100 ms.
targetBitrateThe target bitrate of the encoder.
encoderSamplingRateThe maximum sampling rate used internally by the encoder.

The documentation for this class was generated from the following file: