fix(examples/classic_bt): Add A2DP sink delay for AVRCP cover art and absolute volume examples

This commit is contained in:
yangfeng
2025-12-24 17:11:02 +08:00
parent bf50886ee4
commit 3b6b7e8a60
3 changed files with 5 additions and 1 deletions

View File

@@ -221,6 +221,8 @@ static void bt_av_hdl_stack_evt(uint16_t event, void *p_param)
#endif
#endif
/* Get the default value of the delay value */
esp_a2d_sink_get_delay_value();
/* Get local device name */
esp_bt_gap_get_device_name();

View File

@@ -103,6 +103,8 @@ static void bt_av_hdl_stack_evt(uint16_t event, void *p_param)
#endif
#endif
/* Get the default value of the delay value */
esp_a2d_sink_get_delay_value();
/* Get local device name */
esp_bt_gap_get_device_name();

View File

@@ -10,6 +10,6 @@ set(MY_COMPONENT_REQUIRES
idf_component_register(SRCS "bt_app_av.c"
"main.c"
PRIV_REQUIRES esp_driver_i2s bt nvs_flash esp_ringbuf esp_driver_dac
PRIV_REQUIRES bt nvs_flash
PRIV_REQUIRES ${MY_COMPONENT_REQUIRES}
INCLUDE_DIRS ".")