Skip to content
Discussion options

You must be logged in to vote

I have managed to leave the player running all night! I also did a small test by having the player end() and begin() every end of playlist and it seems to be doing fine. (will try another overnight test again with this) Many thanks @pschatzmann! This is the current version of my sketch:

#include "AudioTools.h"
#include "AudioTools/AudioLibs/VS1053Stream.h"
#include "AudioTools/AudioCodecs/CodecCopy.h"
#include "AudioTools/Disk/AudioSourceSD.h"

extern "C" char* sbrk(int incr);

const char *startFilePath="/";
const char* c_MP3Ext="MP3";
Stream* NextStreamCallback(int offset);
AudioSourceCallback source(NextStreamCallback);
VS1053Stream vs1053; //final output
AudioPlayer player(source, vs10…

Replies: 2 comments 13 replies

Comment options

You must be logged in to vote
10 replies
@pschatzmann
Comment options

@BorpaBoatski
Comment options

@pschatzmann
Comment options

@pschatzmann
Comment options

@BorpaBoatski
Comment options

Comment options

You must be logged in to vote
3 replies
@BorpaBoatski
Comment options

@BorpaBoatski
Comment options

@BorpaBoatski
Comment options

Answer selected by BorpaBoatski
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
bug Something isn't working implemented This is working now
2 participants