mirror of https://github.com/arendst/Tasmota.git
i2s audio fix define bug
This commit is contained in:
parent
84a13e06e0
commit
80d0730de9
|
@ -54,11 +54,6 @@ AudioFileSourceID3 *id3;
|
||||||
AudioGeneratorMP3 *decoder = NULL;
|
AudioGeneratorMP3 *decoder = NULL;
|
||||||
void *mp3ram = NULL;
|
void *mp3ram = NULL;
|
||||||
|
|
||||||
#ifdef USE_WEBRADIO
|
|
||||||
AudioFileSourceICYStream *ifile = NULL;
|
|
||||||
AudioFileSourceBuffer *buff = NULL;
|
|
||||||
char wr_title[64];
|
|
||||||
//char status[64];
|
|
||||||
|
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
const int preallocateBufferSize = 5*1024;
|
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
|
//const int preallocateCodecSize = 85332; // AAC+SBR codec max mem needed
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef USE_WEBRADIO
|
||||||
|
AudioFileSourceICYStream *ifile = NULL;
|
||||||
|
AudioFileSourceBuffer *buff = NULL;
|
||||||
|
char wr_title[64];
|
||||||
|
//char status[64];
|
||||||
|
|
||||||
void *preallocateBuffer = NULL;
|
void *preallocateBuffer = NULL;
|
||||||
void *preallocateCodec = NULL;
|
void *preallocateCodec = NULL;
|
||||||
uint32_t retryms = 0;
|
uint32_t retryms = 0;
|
||||||
|
|
Loading…
Reference in New Issue