arduino-audio-tools
Loading...
Searching...
No Matches
ICYStream.h
Go to the documentation of this file.
1#pragma once
4
5namespace audio_tools {
6
12
13#if defined(USE_CONCURRENCY)
18class ICYStreamBuffered : public URLStreamBufferedT<ICYStream> {
19 public:
20 using URLStreamBufferedT<ICYStream>::URLStreamBufferedT;
21
24 const char* str,
25 int len)) override {
27 return true;
28 }
29};
30#endif
31
32} // namespace audio_tools
AudioInfo info
Definition BaseStream.h:174
Buffered ICYStream with metadata callback support.
Definition ICYStream.h:18
virtual bool setMetadataCallback(void(*fn)(MetaDataType info, const char *str, int len)) override
Defines the metadata callback function.
Definition ICYStream.h:23
Icecast/Shoutcast audio stream that separates ICY metadata from audio bytes.
Definition ICYStreamT.h:42
virtual bool setMetadataCallback(void(*fn)(MetaDataType info, const char *str, int len)) override
Defines the metadata callback function.
Definition ICYStreamT.h:65
URLStream implementation for the ESP32 based on a separate FreeRTOS task: the.
Definition URLStreamBufferedT.h:162
ICYStream urlStream
Definition URLStreamBufferedT.h:288
MetaDataType
Type of meta info.
Definition AbstractMetaData.h:11
Generic Implementation of sound input and output for desktop environments using portaudio.
Definition AudioCodecsBase.h:10
size_t writeData(Print *p_out, T *data, int samples, int maxSamples=512)
Definition AudioTypes.h:512