mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
fix(examples/classic_bt): Add A2DP sink delay for AVRCP cover art and absolute volume examples
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
@@ -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 ".")
|
||||
|
||||
Reference in New Issue
Block a user