|
| MP3ParserEncoder (int bufferSize=1024 *2) |
|
AudioInfo | audioInfo () override |
| provides the actual input AudioInfo
|
|
virtual AudioInfo | audioInfoOut () |
|
bool | begin () override |
|
virtual bool | begin (AudioInfo info) |
|
void | end () override |
|
uint32_t | frameDurationUs () override |
| Optioinal rtsp function: provide the frame duration in microseconds.
|
|
virtual const char * | mime () override |
| Provides the mime type of the encoded result.
|
|
| operator bool () override |
|
uint16_t | samplesPerFrame () override |
| Optioinal rtsp function: provide samples per the frame.
|
|
void | setAudioInfo (AudioInfo from) override |
| Defines the sample rate, number of channels and bits per sample.
|
|
void | setOutput (Print &out_stream) override |
| Default output assignment (encoders may override to store Print reference)
|
|
size_t | write (const uint8_t *data, size_t len) override |
|
|
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
|
◆ audioInfo()
◆ audioInfoOut()
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream
Reimplemented in PureDataStream, PWMAudioOutput, ChannelFormatConverterStreamT< T >, ChannelFormatConverterStream, NumberFormatConverterStreamT< TFrom, TTo >, NumberFormatConverterStream, FormatConverterStream, Pipeline, ResampleStream, and ResampleStreamT< TInterpolator >.
◆ begin() [1/2]
◆ begin() [2/2]
◆ end()
◆ frameDurationUs()
uint32_t frameDurationUs |
( |
| ) |
|
|
inlineoverridevirtual |
Optioinal rtsp function: provide the frame duration in microseconds.
Reimplemented from AudioEncoder.
◆ mime()
virtual const char * mime |
( |
| ) |
|
|
inlineoverridevirtual |
Provides the mime type of the encoded result.
Implements AudioEncoder.
◆ operator bool()
◆ samplesPerFrame()
uint16_t samplesPerFrame |
( |
| ) |
|
|
inlineoverridevirtual |
Optioinal rtsp function: provide samples per the frame.
Reimplemented from AudioEncoder.
◆ setAudioInfo()
|
inlineoverridevirtualinherited |
Defines the sample rate, number of channels and bits per sample.
Implements AudioWriter.
Reimplemented in MP3EncoderLAME, EncoderBasic, CodecChain, FLACEncoder, OpusAudioEncoder, WAVEncoder, CodecNOP, G7xxEncoder, BinaryContainerEncoder, OggContainerEncoder, OSCContainerEncoder, and MetaDataFilterEncoder.
◆ setOutput()
void setOutput |
( |
Print & |
out_stream | ) |
|
|
inlineoverridevirtual |
Default output assignment (encoders may override to store Print reference)
Reimplemented from AudioEncoder.
◆ write()
size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: