EncoderBasic - supports mime type audio/basic. The content of the "audio/basic" subtype is single channel audio encoded using 8bit ISDN mu-law [PCM] at a sample rate of 8000 Hz. Requires https://github.com/pschatzmann/arduino-libg7xx.
More...
#include <CodecBasic.h>
|
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
|
EncoderBasic - supports mime type audio/basic. The content of the "audio/basic" subtype is single channel audio encoded using 8bit ISDN mu-law [PCM] at a sample rate of 8000 Hz. Requires https://github.com/pschatzmann/arduino-libg7xx.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ audioInfo()
|
inlineoverridevirtualinherited |
◆ 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]
starts the processing using the actual RAWAudioInfo
Implements AudioWriter.
◆ begin() [2/2]
◆ end()
◆ mime()
◆ operator bool()
◆ setAudioInfo()
We actually do nothing with this.
Reimplemented from AudioEncoder.
◆ setOutput()
void setOutput |
( |
Print & |
out | ) |
|
|
inlineoverridevirtual |
◆ write()
virtual size_t write |
( |
const uint8_t * |
in_ptr, |
|
|
size_t |
in_size |
|
) |
| |
|
inlineoverridevirtual |
Writes PCM data to be encoded as RAW.
Implements AudioWriter.
The documentation for this class was generated from the following file: