Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ILBCEncoder Class Reference

Encoder for iLBC - Depends on More...

#include <CodecILBC.h>

Inheritance diagram for ILBCEncoder:
AudioEncoder AudioWriter

Public Member Functions

 ILBCEncoder (EnumLBCFrameSize frameSize=ms30)
void begin ()
void begin (AudioInfo info)
virtual void end ()
virtual const char * mime ()
 Provides the mime type of the encoded result.
 operator bool ()
void setAudioInfo (AudioInfo info)
 Defines the sample rate, number of channels and bits per sample.
virtual void setOutput (Print &out_stream)
virtual size_t write (const void *in_data, size_t in_size)

Protected Member Functions

void writeBlocking (Print *out, uint8_t *data, size_t len)

Protected Attributes

Vector< float > decoded_buffer {0}
int16_t decoded_buffer_pos = 0
Vector< uint8_t > encoded_buffer {0}
EnumLBCFrameSize frame_size
AudioInfo info
iLBCEncode * p_ilbc = nullptr
Printp_print = nullptr

Detailed Description

Encoder for iLBC - Depends on

Phil Schatzmann

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