Audio Source which provides the data via the network from an URL. The URLs are stored in an Vector of dynamically allocated strings.
More...
#include <AudioSourceURL.h>
Audio Source which provides the data via the network from an URL. The URLs are stored in an Vector of dynamically allocated strings.
- Author
- Phil Schatzmann
- Copyright
- GPLv3
◆ AudioSourceDynamicURL() [1/2]
template<typename T , size_t N>
◆ AudioSourceDynamicURL() [2/2]
◆ addURL()
| void addURL |
( |
const char * |
url | ) |
|
|
inline |
add a new url: a copy of the string will be stored on the heap
◆ begin()
|
|
inlineoverridevirtualinherited |
◆ clear()
◆ end()
◆ index()
Returns the actual index of the stream.
Reimplemented from AudioSource.
◆ isAutoNext()
| virtual bool isAutoNext |
( |
| ) |
|
|
inlinevirtualinherited |
Returns default setting go to the next.
Reimplemented from AudioSource.
◆ nextStream()
| Stream * nextStream |
( |
int |
offset | ) |
|
|
inlineoverridevirtualinherited |
Opens the next url from the array.
Implements AudioSource.
◆ operator[]()
| Stream * operator[] |
( |
int |
idx | ) |
|
|
inlineinherited |
◆ previousStream()
| Stream * previousStream |
( |
int |
offset | ) |
|
|
inlineoverridevirtualinherited |
Opens the Previous url from the array.
Reimplemented from AudioSource.
◆ selectStream() [1/2]
| Stream * selectStream |
( |
const char * |
path | ) |
|
|
inlineoverridevirtual |
Opens the selected url and adds it to the list.
Implements AudioSource.
◆ selectStream() [2/2]
| Stream * selectStream |
( |
int |
idx | ) |
|
|
inlineoverridevirtualinherited |
Opens the selected url from the array.
Reimplemented from AudioSource.
◆ setAutoNext()
| virtual void setAutoNext |
( |
bool |
flag | ) |
|
|
inlinevirtualinherited |
◆ setIndex()
| virtual Stream * setIndex |
( |
int |
index | ) |
|
|
inlinevirtualinherited |
same as selectStream - I just prefer this name
◆ setMetadataCallback()
◆ setTimeout()
| void setTimeout |
( |
int |
millisec | ) |
|
|
inlinevirtualinherited |
◆ setTimeoutAutoNext()
| virtual void setTimeoutAutoNext |
( |
int |
millisec | ) |
|
|
inlinevirtualinherited |
Sets the timeout which is triggering to move to the next stream. - the default value is 500 ms
◆ size()
◆ timeoutAutoNext()
| virtual int timeoutAutoNext |
( |
| ) |
|
|
inlinevirtualinherited |
Provides the timeout which is triggering to move to the next stream.
◆ toStr()
provides the actual stream (e.g. file) name or url
Reimplemented from AudioSource.
◆ value()
| const char * value |
( |
int |
pos | ) |
|
|
inlineoverrideprotectedvirtual |
◆ actual_stream
◆ is_auto_next
◆ max
◆ mime
| const char* mime = nullptr |
|
protectedinherited |
◆ pos
◆ started
◆ timeout_auto_next_value
| int timeout_auto_next_value = 500 |
|
protectedinherited |
◆ url_vector
◆ urlArray
| const char** urlArray = nullptr |
|
protectedinherited |
The documentation for this class was generated from the following file: