How to turn on and off A2DP sink without loosing memory #8204
Unanswered
dharmikP17
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using ESP32 (2.0.5) with Arduino IDE (2.0.2). All settings are default.
My requirement is to turn off the A2DP and start wifi then switch back to A2DP. So I have basic code that just turn on and off the A2DP sink and there is memory leak in heap everytime it goes through this cycle.
There is an option to release memory in
a2dp_sink.end(bool release_memory)
method but then it will not let me turn on again saying re-start does not work withend(true)
.Beta Was this translation helpful? Give feedback.
All reactions