 Adafruit_VS1053_FilePlayer player =
   Adafruit_VS1053_FilePlayer(VS1053_RESET, VS1053_CS, VS1053_DCS, VS1053_DREQ, CARDCS);
 
-uint8_t data_global[4096];
+uint8_t data_global[VS1053_DATABUFFERLEN];
 bool once = true;
 uint8_t counter = 0;
 static void bt_av_hdl_stack_evt(uint16_t event, void *p_param)

  Serial.println(readbytes);
}

void bt_app_a2d(esp_a2d_cb_event_t event, esp_a2d_cb_param_t *param)
{
  if(once){
    player.playFullFile("/track001.mp3", &on_data_read);
    once = false;

#include "esp_a2dp_api.h"
#include "esp_avrc_api.h"
};
#define VS1053_DATA_SPI_SETTING     SPISettings(8000000, MSBFIRST, SPI_MODE0)
#define SCI_WRAMADDR 7
#define SCI_WRAM 6

#define VS1053_RESET   -1     // VS1053 reset pin (not used!)
// Feather M0 or 32u4
