Switching between audio modes: MP3 player -> BT sink -> MP3 player(again) #739
Replies: 3 comments
-
|
I don't see any bug/issue here, so I am converting this to a discussion |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
|
Thank you! I'm testing the code now, and the only problem is following: After booting it doesn't play mp3 files(it should play 2 different files, one after the other), but I can see the stream->copy in the terminal. More importantly - after switching to BT sink mode, and successfully streaming the audio from BT, it starts to play mp3 successfully as well! So the question is why doesn't it play it initially after booting? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Problem Description
Hello Phill,
Thank you for your hard work with the library!
Currently, I'm implementing a device (ESP32 + PCM5102) with the following logic: Boot -> playing a mp3 startup sound -> enabling BT sink mode(after pressing a button) -> disabling BT mode, and enabling mp3 player again(after pressing another button). Ideally, it should it should be able to change the modes continuously.
There are a couple of concerns:
I'm asking your general advice, if it's possible to implement, such logic.
Thank you in advance!
Device Description
ESP32-Wrover, Wroom.
Sketch
Other Steps to Reproduce
No response
Provide your Version of the EP32 Arduino Core (or the IDF Version)
2.0.17
I have checked existing issues, discussions and online documentation (incl. the Wiki)
Beta Was this translation helpful? Give feedback.
All reactions