arduino-audio-tools
|
OpusAudioDecoder: Depends on https://github.com/pschatzmann/arduino-libopus.git. More...
#include <CodecOpus.h>
Public Member Functions | |
OpusAudioDecoder () | |
Construct a new OpusDecoder object. | |
OpusAudioDecoder (Print &out_stream) | |
Construct a new OpusDecoder object. More... | |
AudioInfo | audioInfo () override |
void | begin () override |
virtual void | begin (AudioInfo info) |
void | begin (OpusSettings settings) |
OpusSettings & | config () |
Provides access to the configuration. | |
OpusSettings & | defaultConfig () |
void | end () override |
virtual bool | isResultPCM () |
If true, the decoding result is PCM data. | |
operator bool () override | |
void | setAudioInfo (AudioInfo from) override |
for most decoders this is not needed | |
void | setNotifyAudioChange (AudioInfoSupport &bi) override |
Registers an object that is notified if the audio format is changing. | |
virtual void | setOutput (AudioOutput &out_stream) |
Defines where the decoded result is written to. | |
virtual void | setOutput (AudioStream &out_stream) |
Defines where the decoded result is written to. | |
void | setOutput (Print &out_stream) override |
Defines the output Stream. | |
size_t | write (const void *in_ptr, size_t in_size) override |
Protected Member Functions | |
void | writeBlocking (Print *out, uint8_t *data, size_t len) |
Protected Attributes | |
bool | active |
OpusSettings | cfg |
OpusDecoder * | dec |
AudioInfo | info |
Vector< uint8_t > | outbuf {0} |
AudioInfoSupport * | p_notify = nullptr |
Print * | p_print = nullptr |
OpusAudioDecoder: Depends on https://github.com/pschatzmann/arduino-libopus.git.
|
inline |
Construct a new OpusDecoder object.
out_stream | Output Stream to which we write the decoded result |