3 #ifndef AUTOCONNECT_TRY_NUM
4 # define AUTOCONNECT_TRY_NUM 1000
8 #ifndef A2DP_LEGACY_I2S_SUPPORT
9 # define A2DP_LEGACY_I2S_SUPPORT (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0))
13 #ifndef A2DP_I2S_AUDIOTOOLS
14 # if __has_include("AudioTools.h")
15 # define A2DP_I2S_AUDIOTOOLS 1
19 #ifndef A2DP_SPP_SUPPORT
20 # define A2DP_SPP_SUPPORT (ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(5, 0, 0))
24 #ifndef A2DP_I2S_MAX_WRITE_SIZE
25 # define A2DP_I2S_MAX_WRITE_SIZE 1024 * 5
29 #ifndef A2DP_DISCONNECT_LIMIT
30 # define A2DP_DISCONNECT_LIMIT 20