Can't make work example play audio from SDFAT to BlueToot #792
-
I'm trying to play sdfta to my bluetooth hedphone without success. [I] AudioA2DP.h : 141 - a2dp_source is connected...
A2DPStream out; void next(bool, int, void*) { void previous(bool, int, void*) { void startStop(bool, int, void*) { void setup() { /// setup output // setup player // select file with setPath() or setIndex() } void loop() { |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
Why don't you use the tested examples. |
Beta Was this translation helpful? Give feedback.
-
I've solved the problem but onestly I don't understand to make work the player-sdfat-a2dp I need to add the lasta parameter setting it to false: The player-sdfat-audiokit work with the defalut value true.... Maybe you understand why and if it is a bug or not. Hope is usefull for somebody else :-) Thanks for your nice work. |
Beta Was this translation helpful? Give feedback.
-
Hmm, this does not make any sense: The last parameter is just there so that the API is consistent with the AudioSourceIdxSDFAT class. However it is not used! |
Beta Was this translation helpful? Give feedback.
-
To close this: I was not aligned to yor last commit. |
Beta Was this translation helpful? Give feedback.
I've solved the problem but onestly I don't understand to make work the player-sdfat-a2dp I need to add the lasta parameter setting it to false:
AudioSourceSDFAT source(startFilePath, ext, sdcfg, false);
The player-sdfat-audiokit work with the defalut value true....
Maybe you understand why and if it is a bug or not.
Hope is usefull for somebody else :-)
Thanks for your nice work.