Enable AAC-SBR on ESP-32, there's enough RAM
AAC-SBR allows for lower bitrates to have higher quality audio output, and is used by many web radio stations. It was disables on the ESP8266 due to RAM limitations (about 50KB too little), but the ESP32 has no such problem. Enable it automatically during compile.
This commit is contained in:
1 parent
bd40d8af6f
commit
244007b0c5
2 files changed
+6
-2
No files matched your search
@@ -50,7 +50,9 @@
|
||||
#include <pgmspace.h>
|
||||
|
||||
// Can't fit in ESP8266 RAM
|
||||
// #define AAC_ENABLE_SBR 1
|
||||
#ifdef ESP32
|
||||
#define AAC_ENABLE_SBR 1
|
||||
#endif
|
||||
|
||||
#pragma GCC optimize ("O3")
|
||||
|
||||
|
||||
Reference in new issue
Block a user