arduino-audio-tools
|
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>
Public Member Functions | |
MP3EncoderLAME (Print &out_stream) | |
AudioInfoLAME & | audioInfo () |
void | begin () |
virtual void | begin (AudioInfo info) |
void | begin (AudioInfoLAME info) |
Opens the encoder More... | |
AudioInfoLAME | defaultConfig () |
liblame::MP3EncoderLAME * | driver () |
void | end () |
const char * | mime () |
Provides the mime type of the encoded result. | |
virtual | operator bool () |
void | setAudioInfo (AudioInfo from) |
Defines the Audio Info. | |
void | setAudioInfo (AudioInfoLAME from) |
Defines the Audio Info. | |
void | setOutput (Print &out_stream) |
Defines the output stream. | |
size_t | write (const void *in_ptr, size_t in_size) |
Protected Member Functions | |
void | createEnc () |
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
Protected Attributes | |
liblame::MP3EncoderLAME * | enc =nullptr |
AudioInfoLAME | info |
Print * | p_print =nullptr |
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.
|
inline |
Opens the encoder
info |