arduino-audio-tools
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CopyEncoder Class Reference

Dummy Encoder which just copies the provided data to the output. More...

#include <CodecCopy.h>

Inheritance diagram for CopyEncoder:
AudioEncoder AudioWriter

Public Member Functions

 CopyEncoder (Print &out_stream)
 
 CopyEncoder (Print &out_stream, AudioInfoSupport &bi)
 
AudioInfo audioInfo ()
 
void begin ()
 
virtual void begin (AudioInfo info)
 
void end ()
 
const char * mime ()
 Provides the mime type of the encoded result.
 
 operator bool ()
 
void setAudioInfo (AudioInfo ai)
 Defines the sample rate, number of channels and bits per sample.
 
void setNotifyAudioChange (AudioInfoSupport &bi)
 
virtual void setOutput (Print &out_stream)
 
size_t write (const void *data, size_t len)
 

Protected Member Functions

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

Protected Attributes

AudioInfo info
 
Printpt_print =nullptr
 

Detailed Description

Dummy Encoder which just copies the provided data to the output.

Author
Phil Schatzmann

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