Encoder for G.722 - Depends on https://github.com/pschatzmann/arduino-libg722. Inspired by g722enc.c.
More...
#include <CodecG722.h>
|
void | processByte (uint8_t byte) |
|
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
|
|
int | buffer_pos = 0 |
|
G722_ENC_CTX * | g722_ectx = nullptr |
|
AudioInfo | info |
|
Vector< uint8_t > | input_buffer |
|
bool | is_active = false |
|
int | options = G722_SAMPLE_RATE_8000 |
|
Print * | p_print = nullptr |
|
Vector< uint8_t > | result_buffer |
|
Encoder for G.722 - Depends on https://github.com/pschatzmann/arduino-libg722. Inspired by g722enc.c.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ audioInfo()
|
inlineoverridevirtualinherited |
◆ audioInfoOut()
◆ begin() [1/2]
◆ begin() [2/2]
◆ end()
◆ mime()
virtual const char * mime |
( |
| ) |
|
|
inlinevirtual |
Provides the mime type of the encoded result.
Implements AudioEncoder.
◆ operator bool()
◆ setAudioInfo()
|
inlineoverridevirtualinherited |
Defines the sample rate, number of channels and bits per sample.
Implements AudioWriter.
Reimplemented in MP3EncoderLAME, EncoderBasic, FLACEncoder, OpusAudioEncoder, WAVEncoder, CodecNOP, G7xxEncoder, BinaryContainerEncoder, OggContainerEncoder, and OSCContainerEncoder.
◆ setOutput()
virtual void setOutput |
( |
Print & |
out_stream | ) |
|
|
inlinevirtual |
◆ write()
virtual size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: