Change volume or loudness for ESP32 A2DP sink
Posted: Fri Nov 30, 2018 2:23 am
I'm working on a A2DP sink application modified from A2DP example, but the defult volume is too loud, even I turn down the volume on iphone to minimum level.
How to config the volume in bluedroid of esp-idf ?
Change these lines are useless.
How to config the volume in bluedroid of esp-idf ?
Change these lines are useless.
Code: Untitled.c Select all
btc_rc_vb.rc_volume = MAX_VOLUME; //btc_avrc.c line 161Code: Untitled.c Select all
UINT8_TO_BE_STREAM(p_data, (AVRC_MAX_VOLUME & p_cmd->volume)); //avrc_bld_ct.c line 86