Encoder for ADPCM - Depends on https://github.com/pschatzmann/adpcm>
More...
#include <CodecADPCM.h>
Encoder for ADPCM - Depends on https://github.com/pschatzmann/adpcm
>
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ ADPCMEncoder() [1/2]
◆ ADPCMEncoder() [2/2]
◆ ~ADPCMEncoder()
◆ 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, and ResampleStreamT< TInterpolator >.
◆ begin() [1/2]
◆ begin() [2/2]
◆ blockSize()
Provides the block size (size of encoded frame) (only available after calling begin)
Implements AudioEncoderExt.
◆ encode()
◆ end()
◆ frameDurationUs()
provides the frame duration in us (for rtsp)
Reimplemented from AudioEncoder.
◆ 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()
◆ samplesPerFrame()
◆ setAudioInfo()
|
|
inlineoverridevirtualinherited |
Defines the sample rate, number of channels and bits per sample.
Implements AudioWriter.
Reimplemented in MP3EncoderLAME, EncoderBasic, CodecChain, DSFEncoder, FLACEncoder, MP3EncoderShine, OpusAudioEncoder, WAVEncoder, CodecNOP, G7xxEncoder, G729Encoder, BinaryContainerEncoder, OggContainerEncoder, OSCContainerEncoder, and MetaDataFilterEncoder.
◆ setBlockSize()
(re) defines the block size
◆ setId()
(re) defines the codec id
◆ setImplementation()
| bool setImplementation |
( |
| ) |
|
|
inlineprotected |
change the encoder implementation
◆ setOutput()
Default output assignment (encoders may override to store Print reference)
Reimplemented from AudioEncoder.
◆ write()
◆ writeBlocking()
◆ block_size
◆ codec_id
◆ current_id
◆ current_sample
◆ info
◆ is_started
◆ p_encoder
| adpcm_ffmpeg::ADPCMEncoder* p_encoder = nullptr |
|
protected |
◆ p_print
◆ pcm_block
◆ total_samples
The documentation for this class was generated from the following file: