i2s audio fix define bug

This commit is contained in:
gemu2015 2020-09-23 12:52:04 +02:00
parent 84a13e06e0
commit 80d0730de9
1 changed files with 6 additions and 5 deletions

View File

@ -54,11 +54,6 @@ AudioFileSourceID3 *id3;
AudioGeneratorMP3 *decoder = NULL;
void *mp3ram = NULL;
#ifdef USE_WEBRADIO
AudioFileSourceICYStream *ifile = NULL;
AudioFileSourceBuffer *buff = NULL;
char wr_title[64];
//char status[64];
#ifdef ESP8266
const int preallocateBufferSize = 5*1024;
@ -69,6 +64,12 @@ const int preallocateCodecSize = 29192; // MP3 codec max mem needed
//const int preallocateCodecSize = 85332; // AAC+SBR codec max mem needed
#endif
#ifdef USE_WEBRADIO
AudioFileSourceICYStream *ifile = NULL;
AudioFileSourceBuffer *buff = NULL;
char wr_title[64];
//char status[64];
void *preallocateBuffer = NULL;
void *preallocateCodec = NULL;
uint32_t retryms = 0;