Skip to content
Discussion options

You must be logged in to vote

I don't see how this is related to A2DP ? I think this should be in an AudioTools discussion...
If you check the Documentation of the AudioPlayer, you will see that it only supports AudioDecoder and not StreamingDecoder instances.

I guess the issue is with a bug in the begin() of the FLACDecoderFoxen after end() has been called: I committed some corrections.

The following test sketch plays like a charm on an AudioKit (even with PSRAM disabled):

#include "AudioTools.h"
#include "AudioTools/Disk/AudioSourceSDFAT.h"
#include "AudioTools/AudioCodecs/CodecFLACFoxen.h"
#include "AudioTools/AudioLibs/AudioBoardStream.h"

const char *startFilePath="/flac/";
const char* ext=".flac";
SdSpiConfig sdcfg

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@pschatzmann
Comment options

Answer selected by pschatzmann
Comment options

You must be logged in to vote
7 replies
@hash6iron
Comment options

@pschatzmann
Comment options

@hash6iron
Comment options

@pschatzmann
Comment options

@hash6iron
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants