Encodes PCM data to the MP3 format and writes the result to a stream This is basically just a wrapper using https://github.com/pschatzmann/arduino-liblame.
More...
#include <CodecMP3LAME.h>
|
void | createEnc () |
|
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
|
Encodes PCM data to the MP3 format and writes the result to a stream This is basically just a wrapper using https://github.com/pschatzmann/arduino-liblame.
- 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]
◆ begin() [2/2]
◆ end()
◆ mime()
Provides the mime type of the encoded result.
Implements AudioEncoder.
◆ operator bool()
virtual operator bool |
( |
| ) |
|
|
inlinevirtual |
◆ setAudioInfo()
◆ setOutput()
void setOutput |
( |
Print & |
out_stream | ) |
|
|
inlinevirtual |
◆ write()
size_t write |
( |
const uint8_t * |
data, |
|
|
size_t |
len |
|
) |
| |
|
inlinevirtual |
The documentation for this class was generated from the following file: