AudioSource with SID files which are stored in PROGMEM. More...
#include <SIDAudioSource.h>
Public Member Functions | |
SIDAudioSource (const SidTitle *songs, int count) | |
void | addSong (SidTitle song) |
virtual void | begin () |
Reset actual stream and move to root. | |
virtual Stream * | nextStream (int offset) |
Returns next audio stream. | |
virtual Stream * | selectStream (int index) |
size_t | actualFileSize () |
int | size () |
File size of actual file. | |
void | clear () |
Clears all songs. | |
virtual Stream * | selectStream (const char *path) |
Returns audio stream by path. | |
Protected Attributes | |
int | index = 0 |
Vector< SidTitle > | songs {0} |
MemoryStream | stream {nullptr,0,true, FLASH_RAM} |
size_t | title_size = 0 |
AudioSource with SID files which are stored in PROGMEM.
|
inlinevirtual |
Returns audio stream at the indicated index (the index is zero based, so the first value is 0!)