|
arduino-audio-tools
|
A more natural Print class to process encoded data (aac, wav, mp3...). Just define the output and the decoder and write the encoded data. More...
#include <AudioEncoded.h>
Protected Member Functions | |
| void | notifyAudioChange (AudioInfo info) |
Protected Attributes | |
| int | _timeout = 10 |
| bool | active = false |
| AudioInfo | cfg |
| bool | check_available_for_write = false |
| AudioDecoder * | decoder_ptr = undefined |
| AudioEncoder * | encoder_ptr = undefined |
| int | frame_size = DEFAULT_BUFFER_SIZE |
| bool | is_active = false |
| bool | is_notify_active = true |
| Vector< AudioInfoSupport * > | notify_vector |
| Print * | ptr_out = nullptr |
| SingleBuffer< uint8_t > | tmp {MAX_SINGLE_CHARS} |
| int | tmpPos = 0 |
| AudioInfoSupport * | to_notify = nullptr |
| CodecNOP * | undefined = CodecNOP::instance() |
| AudioWriter * | writer_ptr = nullptr |
A more natural Print class to process encoded data (aac, wav, mp3...). Just define the output and the decoder and write the encoded data.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlineoverridevirtual |
Define object which need to be notified if the basinfo is changing.
Reimplemented from AudioInfoSource.
|
inlineoverridevirtual |
Provide audio info from decoder if relevant.
Reimplemented from AudioOutput.
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 >.
|
inlineoverridevirtual |
Reimplemented from AudioOutput.
|
inlineoverridevirtual |
Starts the processing - sets the status to active.
Reimplemented from AudioOutput.
Starts the processing - sets the status to active.
Reimplemented from AudioOutput.
Deletes all change notify subscriptions.
Reimplemented in RTSPClient< TcpClient, UdpSocket >.
|
inline |
Provides the initialized decoder.
|
inline |
|
inline |
Provides the initialized encoder.
|
inlineoverridevirtual |
Ends the processing.
Reimplemented from AudioOutput.
Reimplemented from Print.
Reimplemented in MultiOutput, and HexDumpOutput.
|
inline |
|
inline |
|
inline |
Is Available for Write check activated ?
|
inline |
If true we need to release the related memory in the destructor.
Reimplemented in AdapterPrintToAudioOutput, and AdapterAudioStreamToAudioOutput.
|
inline |
Returns true if status is active and we still have data to be processed.
Reimplemented from AudioOutput.
|
inline |
|
inlinevirtualinherited |
Removes a target in order not to be notified about audio changes.
Reimplemented in RTSPClient< TcpClient, UdpSocket >.
Defines the input AudioInfo.
Reimplemented from AudioOutput.
Activate/Deactivate the Available for Write check: if activated, the write.
|
inline |
|
inline |
Deactivate/Reactivate automatic AudioInfo updates: (default is active)
|
inline |
|
inline |
|
inline |
|
inline |
Defines/Changes the output target.
Implements ModifyingOutput.
encoder decode the data
Implements AudioOutput.
Reimplemented in MetaDataOutput, and MultiOutput.
Writes n 0 values (= silence)
| len |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protected |