Play MP3 from SD card (A2DP) without player #1922
-
Hello, I can successfully play MP3 from the SD card on my Bluetooth speaker using A2DPStream. Then I found it is not recommended to use this class (it is inefficient) so I started to implement it using callback. But I can't get any sound from the speaker. What am I doing wrong? This is the source code. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
That's now how things are working: please read the Codec Wiki: Chapter Decoding on the Input Side. |
Beta Was this translation helpful? Give feedback.
-
Ok, but please before I dive into studying ... How inefficient is the A2DPStream? Is it worth reimplementing if I need to just play short announcements or 90 seconds song? |
Beta Was this translation helpful? Give feedback.
That's now how things are working: please read the Codec Wiki: Chapter Decoding on the Input Side.
There is no need to copy things!