Help with AVRCP (I think) #777
-
|
I've got my ESP32 music player working using A2Dp, Audio Tools and libHelix. However when I connect up to my bluetooth headphones and click either the up or down volume buttons the audio level drops way down and will not come back up. I have to reboot both my music player and my BT headphones to listen again. I am assuming the problem is that I am not (or the libraries are not) handling the volume change request correctly. Can someone show me how to properly handle requests from my headphones? Like the title says I think this must be related to AVRCP but I don't know for sure. I would appreciate any help you can render. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
I am not sure if I understand you correctly: This would be for a A2DP Source ? The current logic is implemented in the bt_av_notify_evt_handler: Just activate the logging and double check why this is not working for you,,, |
Beta Was this translation helpful? Give feedback.
-
|
Do you mean this:
AudioToolsLogger.begin(Serial, AudioToolsLogLevel::Debug);
or logging in a different library?
Unfortunately when I do this my previously working program when log level
was Info, now crashes.
…On Fri, Mar 13, 2026 at 9:45 AM Phil Schatzmann ***@***.***> wrote:
I am not sure if I understand you correctly: This would be for a A2DP
Source ?
The current logic is implemented in the bt_av_notify_evt_handler
<https://github.com/pschatzmann/ESP32-A2DP/blob/main/src/BluetoothA2DPSource.cpp#L908C1-L909C1>:
Just activate the logging and double check why this is not working for
you,,,
—
Reply to this email directly, view it on GitHub
<#777 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AH6K5D37PFWGOKGFRLMS5334QQUK5AVCNFSM6AAAAACWRFEGCGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTMMJSGAZTSMA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
Read the Readme of the A2DP library! |
Beta Was this translation helpful? Give feedback.
I am not sure if I understand you correctly: This would be for a A2DP Source ?
The current logic is implemented in the bt_av_notify_evt_handler: Just activate the logging and double check why this is not working for you,,,