Encoder for ADPCM - Depends on https://github.com/pschatzmann/adpcm>
More...
#include <CodecADPCM.h>
|
virtual bool | encode (int16_t sample) |
|
bool | setImplementation () |
| change the encoder implementation
|
|
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
|
|
int | block_size = ADAPCM_DEFAULT_BLOCK_SIZE |
|
AVCodecID | codec_id = AV_CODEC_ID_ADPCM_MS |
|
int | current_id = -1 |
|
int | current_sample = 0 |
|
AudioInfo | info |
|
bool | is_started = false |
|
adpcm_ffmpeg::ADPCMEncoder * | p_encoder = nullptr |
|
Print * | p_print = nullptr |
|
Vector< int16_t > | pcm_block |
|
int | total_samples = 0 |
|
Encoder for ADPCM - Depends on https://github.com/pschatzmann/adpcm
>
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ audioInfo()
|
inlineoverridevirtualinherited |
◆ audioInfoOut()
◆ begin() [1/2]
◆ begin() [2/2]
◆ blockSize()
Provides the block size (size of encoded frame) (only available after calling begin)
Implements AudioEncoderExt.
◆ end()
◆ frameSize()
Provides the frame size (size of decoded frame) (only available after calling begin)
◆ mime()
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()
void setOutput |
( |
Print & |
out_stream | ) |
|
|
inlineoverridevirtual |
◆ write()
size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: