40Kbps G723 Encoder based on https://github.com/pschatzmann/codec-g7xx
More...
#include <CodecG7xx.h>
40Kbps G723 Encoder based on https://github.com/pschatzmann/codec-g7xx
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ G723_40Encoder()
◆ audioInfo()
|
|
inlineoverridevirtualinherited |
◆ audioInfoOut()
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
Reimplemented in MP3EncoderShine, PureDataStream, PWMAudioOutput< PWMDriverT >, ChannelFormatConverterStreamT< T >, ChannelFormatConverterStream, NumberFormatConverterStreamT< TFrom, TTo >, NumberFormatConverterStream, FormatConverterStream, Pipeline, ResampleStream, ResampleStreamT< TInterpolator >, and SupportedRatesStream.
◆ begin() [1/2]
|
|
inlineoverridevirtualinherited |
◆ begin() [2/2]
◆ end()
|
|
inlineoverridevirtualinherited |
◆ frameDurationUs()
| virtual uint32_t frameDurationUs |
( |
| ) |
|
|
inlinevirtualinherited |
◆ frameSize()
| virtual int frameSize |
( |
| ) |
|
|
inlinevirtualinherited |
Optional rtsp function: provide the encoded size (in bytes) of one frame, once known (e.g. after the encoder has seen real data). Lets an RTSPFormat size its RTP fragments to match one frame instead of a fixed guess, so throughput actually tracks frameDurationUs() - a fragment size covering several frames' worth of bytes sent at one-frame timing overruns real-time bandwidth and, over UDP (no flow control), causes packet loss. Returns 0 if not yet known/not applicable (fixed-frame-size codecs have no need to override this).
Reimplemented in ADPCMEncoder, EncoderALAC, AMRNBEncoder, AMRWBEncoder, and MP3ParserEncoder.
◆ mime()
|
|
inlineoverridevirtualinherited |
Provides the mime type of the encoded result.
Implements AudioEncoder.
◆ operator bool()
◆ samplesPerFrame()
| virtual uint16_t samplesPerFrame |
( |
| ) |
|
|
inlinevirtualinherited |
◆ setAudioInfo()
Defines the sample rate, number of channels and bits per sample.
Reimplemented from AudioEncoder.
◆ setOutput()
| void setOutput |
( |
Print & |
out_stream | ) |
|
|
inlineoverridevirtualinherited |
Default output assignment (encoders may override to store Print reference)
Reimplemented from AudioEncoder.
◆ write()
| size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineoverridevirtualinherited |
◆ writeBlocking()
| void writeBlocking |
( |
Print * |
out, |
|
|
uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineprotectedinherited |
◆ code
◆ enc_bits
◆ enc_routine
| int(* enc_routine) (int sample, int in_coding, struct g72x_state *state_ptr) |
|
protectedinherited |
◆ info
◆ is_active
◆ out_bits
◆ out_buffer
| unsigned int out_buffer = 0 |
|
protectedinherited |
◆ p_mime
| const char* p_mime = nullptr |
|
protectedinherited |
◆ p_print
◆ resid
◆ sample_char
| unsigned char sample_char |
|
protectedinherited |
◆ sample_int16
◆ state
The documentation for this class was generated from the following file: