Public Member Functions | Protected Member Functions | List of all members
AudioEncoder Class Referenceabstract

Encoding of PCM data. More...

#include <AudioEncoded.h>

Inheritance diagram for AudioEncoder:
AudioWriter AACEncoderFDK ADPCMEncoderXQ APTXEncoder AudioEncoderExt BinaryContainerEncoder Codec2Encoder CodecNOP CopyEncoder EncoderBase64 EncoderBasic EncoderFloat EncoderL16 EncoderL8 FLACEncoder G722Encoder G7xxEncoder GSMEncoder ILBCEncoder LC3Encoder MP3EncoderLAME OggContainerEncoder OpusAudioEncoder SBCEncoder WAVEncoder

Public Member Functions

 AudioEncoder (AudioEncoder const &)=delete
virtual void begin ()=0
virtual void begin (AudioInfo info)
virtual void end ()=0
virtual const char * mime ()=0
 Provides the mime type of the encoded result.
virtual operator bool ()=0
AudioEncoderoperator= (AudioEncoder const &)=delete
void setAudioInfo (AudioInfo from) override
 Defines the sample rate, number of channels and bits per sample.
virtual void setOutput (Print &out_stream)=0
virtual size_t write (const void *in_ptr, size_t in_size)=0

Protected Member Functions

void writeBlocking (Print *out, uint8_t *data, size_t len)

Detailed Description

Encoding of PCM data.

Phil Schatzmann

The documentation for this class was generated from the following file: