diff --git a/_codec_m_p3_helix_8h_source.html b/_codec_m_p3_helix_8h_source.html index accb18607..500ad91cb 100644 --- a/_codec_m_p3_helix_8h_source.html +++ b/_codec_m_p3_helix_8h_source.html @@ -85,165 +85,145 @@
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + +clearNotifyAudioChange() | AudioInfoSource | inlinevirtual |
driver() (defined in MP3DecoderHelix) | MP3DecoderHelix | inline |
end() | MP3DecoderHelix | inlinevirtual |
filter (defined in MP3DecoderHelix) | MP3DecoderHelix | protected |
id | AudioDecoder | |
info (defined in AudioDecoder) | AudioDecoder | protected |
infoCallback(MP3FrameInfo &i, void *ref) | MP3DecoderHelix | inlinestatic |
is_notify_active (defined in AudioInfoSource) | AudioInfoSource | protected |
isFilterMetaData() | MP3DecoderHelix | inline |
id | AudioDecoder | |
info (defined in AudioDecoder) | AudioDecoder | protected |
infoCallback(MP3FrameInfo &i, void *ref) | MP3DecoderHelix | inlinestatic |
is_notify_active (defined in AudioInfoSource) | AudioInfoSource | protected |
isNotifyActive() | AudioInfoSource | inline |
isResultPCM() | AudioDecoder | inlinevirtual |
maxFrameSize() | MP3DecoderHelix | inline |
p_print (defined in AudioDecoder) | AudioDecoder | protected |
removeNotifyAudioChange(AudioInfoSupport &bi) | AudioInfoSource | inlinevirtual |
setAudioInfo(AudioInfo from) override | AudioDecoder | inlinevirtual |
setFilterMetaData(bool filter) | MP3DecoderHelix | inline |
setMaxFrameSize(size_t len) | MP3DecoderHelix | inline |
setMaxPCMSize(size_t len) | MP3DecoderHelix | inline |
setNotifyActive(bool flag) | AudioInfoSource | inline |
setOutput(Print &outStream) | MP3DecoderHelix | inlinevirtual |
audio_tools::AudioDecoder::setOutput(AudioStream &out_stream) | AudioDecoder | inlinevirtual |
audio_tools::AudioDecoder::setOutput(AudioOutput &out_stream) | AudioDecoder | inlinevirtual |
use_filter (defined in MP3DecoderHelix) | MP3DecoderHelix | protected |
setMaxFrameSize(size_t len) | MP3DecoderHelix | inline |
setMaxPCMSize(size_t len) | MP3DecoderHelix | inline |
setNotifyActive(bool flag) | AudioInfoSource | inline |
setOutput(Print &outStream) | MP3DecoderHelix | inlinevirtual |
audio_tools::AudioDecoder::setOutput(AudioStream &out_stream) | AudioDecoder | inlinevirtual |
audio_tools::AudioDecoder::setOutput(AudioOutput &out_stream) | AudioDecoder | inlinevirtual |
write(const uint8_t *data, size_t len) | MP3DecoderHelix | inlinevirtual |
writeBlocking(Print *out, uint8_t *data, size_t len) (defined in AudioWriter) | AudioWriter | inlineprotected |
~AudioDecoder()=default (defined in AudioDecoder) | AudioDecoder | virtual | end () |
Releases the reserved memory. | ||
-bool | isFilterMetaData () | |
Check if the metadata filter is active. | ||
bool | isNotifyActive () | |
Checks if the automatic AudioInfo update is active. | setAudioInfo (AudioInfo from) override | |
for most decoders this is not needed | ||
-void | setFilterMetaData (bool filter) | |
Activates a filter that makes sure that helix does not get any metadata segments. | ||
void | setMaxFrameSize (size_t len) | |
Define your optimized maximum frame size. |
Protected Attributes | |
-MetaDataFilter< libhelix::MP3DecoderHelix > | filter |
AudioInfo | info |
Print * | p_print = nullptr |
-bool | use_filter = false |
MP3 Decoder using libhelix: https://github.com/pschatzmann/arduino-libhelix This is basically just a simple wrapper to provide AudioInfo and AudioInfoSupport.
diff --git a/classaudio__tools_1_1_meta_data_filter-members.html b/classaudio__tools_1_1_meta_data_filter-members.html index f8409c9c6..a14aa9bf5 100644 --- a/classaudio__tools_1_1_meta_data_filter-members.html +++ b/classaudio__tools_1_1_meta_data_filter-members.html @@ -66,27 +66,54 @@This is the complete list of members for MetaDataFilter< Decoder >, including all inherited members.
+This is the complete list of members for MetaDataFilter, including all inherited members.
begin() | MetaDataFilter< Decoder > | inline |
calcSizeID3v2(uint8_t chars[4]) (defined in MetaDataFilter< Decoder >) | MetaDataFilter< Decoder > | inlineprotected |
find(const char *str, size_t len, int &pos, MetaType &type) | MetaDataFilter< Decoder > | inlineprotected |
findTag(uint8_t *data, size_t len, int &pos_tag, int &meta_len) | MetaDataFilter< Decoder > | inlineprotected |
ID3 enum value (defined in MetaDataFilter< Decoder >) | MetaDataFilter< Decoder > | protected |
MetaDataFilter()=default | MetaDataFilter< Decoder > | |
MetaDataFilter(Decoder *decoder) | MetaDataFilter< Decoder > | inline |
MetaType enum name (defined in MetaDataFilter< Decoder >) | MetaDataFilter< Decoder > | protected |
p_decoder (defined in MetaDataFilter< Decoder >) | MetaDataFilter< Decoder > | protected |
setDecoder(Decoder *decoder) | MetaDataFilter< Decoder > | inline |
start (defined in MetaDataFilter< Decoder >) | MetaDataFilter< Decoder > | protected |
TAG enum value (defined in MetaDataFilter< Decoder >) | MetaDataFilter< Decoder > | protected |
TAG_PLUS enum value (defined in MetaDataFilter< Decoder >) | MetaDataFilter< Decoder > | protected |
tagv2 (defined in MetaDataFilter< Decoder >) | MetaDataFilter< Decoder > | protected |
write(uint8_t *data, size_t len) | MetaDataFilter< Decoder > | inline |
_timeout (defined in Print) | protected | |
addNotifyAudioChange(AudioInfoSupport &bi) | AudioInfoSource | inlinevirtual |
audioInfo() override | AudioOutput | inlinevirtual |
audioInfoOut() | AudioInfoSupport | inlinevirtual |
availableForWrite() override (defined in AudioOutput) | AudioOutput | inlinevirtual |
begin() override | MetaDataFilter | inlinevirtual |
begin(AudioInfo info) (defined in AudioOutput) | AudioOutput | inlinevirtual |
calcSizeID3v2(uint8_t chars[4]) (defined in MetaDataFilter) | MetaDataFilter | inlineprotected |
cfg (defined in AudioOutput) | AudioOutput | protected |
clearNotifyAudioChange() | AudioInfoSource | inlinevirtual |
current_pos (defined in MetaDataFilter) | MetaDataFilter | protected |
end() (defined in AudioOutput) | AudioOutput | inlinevirtual |
find(const char *str, size_t len, int &pos, MetaType &type) | MetaDataFilter | inlineprotected |
findTag(const uint8_t *data, size_t len, int &pos_tag, int &meta_len) | MetaDataFilter | inlineprotected |
flush() (defined in AudioOutput) | AudioOutput | inlinevirtual |
ID3 enum value (defined in MetaDataFilter) | MetaDataFilter | protected |
is_active (defined in AudioOutput) | AudioOutput | protected |
is_notify_active (defined in AudioInfoSource) | AudioInfoSource | protected |
isDeletable() | AudioOutput | inlinevirtual |
isNotifyActive() | AudioInfoSource | inline |
metadata_range (defined in MetaDataFilter) | MetaDataFilter | protected |
MetaDataFilter()=default | MetaDataFilter | |
MetaDataFilter(Print &out) | MetaDataFilter | inline |
MetaType enum name (defined in MetaDataFilter) | MetaDataFilter | protected |
notify_vector (defined in AudioInfoSource) | AudioInfoSource | protected |
notifyAudioChange(AudioInfo info) (defined in AudioInfoSource) | AudioInfoSource | inlineprotected |
operator bool() (defined in AudioOutput) | AudioOutput | inlinevirtual |
p_out (defined in MetaDataFilter) | MetaDataFilter | protected |
removeNotifyAudioChange(AudioInfoSupport &bi) | AudioInfoSource | inlinevirtual |
setAudioInfo(AudioInfo newInfo) override | AudioOutput | inlinevirtual |
setNotifyActive(bool flag) | AudioInfoSource | inline |
setOutput(Print &out) | MetaDataFilter | inline |
start (defined in MetaDataFilter) | MetaDataFilter | protected |
TAG enum value (defined in MetaDataFilter) | MetaDataFilter | protected |
TAG_PLUS enum value (defined in MetaDataFilter) | MetaDataFilter | protected |
tagv2 (defined in MetaDataFilter) | MetaDataFilter | protected |
tmp (defined in AudioOutput) | AudioOutput | protected |
tmpPos (defined in AudioOutput) | AudioOutput | protected |
write(const uint8_t *data, size_t len) override | MetaDataFilter | inlinevirtual |
write(uint8_t ch) override (defined in AudioOutput) | AudioOutput | inlinevirtual |
writeSilence(size_t len) | AudioOutput | inlinevirtual |
~AudioOutput()=default (defined in AudioOutput) | AudioOutput | virtual |
#include <MetaDataFilter.h>
Classes | |
struct | ID3v2 |
ID3 verion 2 TAG Header (10 bytes) More... | |
struct | Range |
Metadata range. More... | |
Public Member Functions | MetaDataFilter ()=default |
Default Constructor. | |
- | MetaDataFilter (Decoder *decoder) |
Constructor which assigns the decoder. | |
-void | begin () |
(Re)starts the processing | |
-void | setDecoder (Decoder *decoder) |
Defines the decoder to which we write the data. | |
-size_t | write (uint8_t *data, size_t len) |
Writes the data to the decoder. | |
+ | MetaDataFilter (Print &out) |
Constructor which assigns the decoder. | |
+virtual void | addNotifyAudioChange (AudioInfoSupport &bi) |
Adds target to be notified about audio changes. | |
+virtual AudioInfo | audioInfo () override |
provides the actual input AudioInfo | |
+virtual AudioInfo | audioInfoOut () |
provides the actual output AudioInfo: this is usually the same as audioInfo() unless we use a transforming stream | |
+virtual int | availableForWrite () override |
+bool | begin () override |
(Re)starts the processing | |
+virtual bool | begin (AudioInfo info) |
+virtual void | clearNotifyAudioChange () |
Deletes all change notify subscriptions. | |
+virtual void | end () |
+virtual void | flush () |
+virtual bool | isDeletable () |
If true we need to release the related memory in the destructor. | |
+bool | isNotifyActive () |
Checks if the automatic AudioInfo update is active. | |
+virtual | operator bool () |
+virtual bool | removeNotifyAudioChange (AudioInfoSupport &bi) |
Removes a target in order not to be notified about audio changes. | |
+virtual void | setAudioInfo (AudioInfo newInfo) override |
Defines the input AudioInfo. | |
+void | setNotifyActive (bool flag) |
Deactivate/Reactivate automatic AudioInfo updates: (default is active) | |
+void | setOutput (Print &out) |
Defines the decoder to which we write the data. | |
+size_t | write (const uint8_t *data, size_t len) override |
Writes the data to the decoder. | |
+virtual size_t | write (uint8_t ch) override |
virtual void | writeSilence (size_t len) |
Protected Types | find (const char *str, size_t len, int &pos, MetaType &type) |
find the tag position in the string; | |
-bool | findTag (uint8_t *data, size_t len, int &pos_tag, int &meta_len) |
determines if the data conatins a ID3v1 or ID3v2 tag | |
+bool | findTag (const uint8_t *data, size_t len, int &pos_tag, int &meta_len) |
determines if the data conatins a ID3v1 or ID3v2 tag | |
+void | notifyAudioChange (AudioInfo info) |
Protected Attributes | |
-Decoder * | p_decoder =nullptr |
+int | _timeout = 10 |
+AudioInfo | cfg |
+int | current_pos = 0 |
+bool | is_active = false |
+bool | is_notify_active = true |
+struct audio_tools::MetaDataFilter::Range | metadata_range |
+Vector< AudioInfoSupport * > | notify_vector |
+Print * | p_out = nullptr |
int | start = 0 |
struct audio_tools::MetaDataFilter::ID3v2 | tagv2 |
+SingleBuffer< uint8_t > | tmp {MAX_SINGLE_CHARS} |
+int | tmpPos = 0 |
Class which filters out ID3v1 and ID3v2 Metadata and provides only the audio data to the decoder.
+Class which filters out ID3v1 and ID3v2 Metadata and provides only the audio data to the decoder.
+
|
+ +inlinevirtualinherited | +
Writes n 0 values (= silence)
len |
This is the complete list of members for MetaDataFilter< Decoder >::ID3v2, including all inherited members.
+This is the complete list of members for MetaDataFilter::ID3v2, including all inherited members.
flags (defined in MetaDataFilter< Decoder >::ID3v2) | MetaDataFilter< Decoder >::ID3v2 | |
header (defined in MetaDataFilter< Decoder >::ID3v2) | MetaDataFilter< Decoder >::ID3v2 | |
size (defined in MetaDataFilter< Decoder >::ID3v2) | MetaDataFilter< Decoder >::ID3v2 | |
version (defined in MetaDataFilter< Decoder >::ID3v2) | MetaDataFilter< Decoder >::ID3v2 | |
flags (defined in MetaDataFilter::ID3v2) | MetaDataFilter::ID3v2 | |
header (defined in MetaDataFilter::ID3v2) | MetaDataFilter::ID3v2 | |
size (defined in MetaDataFilter::ID3v2) | MetaDataFilter::ID3v2 | |
version (defined in MetaDataFilter::ID3v2) | MetaDataFilter::ID3v2 |
ID3 verion 2 TAG Header (10 bytes)
+ID3 verion 2 TAG Header (10 bytes)
+ arduino-audio-tools
+
+ |
+
This is the complete list of members for MetaDataFilter::Range, including all inherited members.
+clear() (defined in MetaDataFilter::Range) | MetaDataFilter::Range | inline |
from (defined in MetaDataFilter::Range) | MetaDataFilter::Range | |
inRange(int pos) (defined in MetaDataFilter::Range) | MetaDataFilter::Range | inline |
isDefined() (defined in MetaDataFilter::Range) | MetaDataFilter::Range | inline |
setLen(int len) (defined in MetaDataFilter::Range) | MetaDataFilter::Range | inline |
to (defined in MetaDataFilter::Range) | MetaDataFilter::Range |
+ arduino-audio-tools
+
+ |
+
Metadata range. + More...
+ +#include <MetaDataFilter.h>
+Public Member Functions | |
+void | clear () |
+bool | inRange (int pos) |
+bool | isDefined () |
+void | setLen (int len) |
+Public Attributes | |
+int | from = -1 |
+int | to = -1 |
Metadata range.
+