File tree Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Expand file tree Collapse file tree 3 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 53
53
54
54
#ifndef HELIX_LOG_SIZE
55
55
# define HELIX_LOG_SIZE 256
56
+ #endif
57
+
58
+ /// the ESP8266 does not have enough memory
59
+ #ifndef ESP8266
60
+ # define HELIX_FEATURE_AUDIO_CODEC_AAC_SBR
56
61
#endif
Original file line number Diff line number Diff line change 48
48
49
49
//#include <Arduino.h>
50
50
//#include <pgmspace.h>
51
+ #include "ConfigHelix.h"
51
52
#include "utils/helix_pgm.h"
52
53
53
- // Can't fit in ESP8266 RAM
54
- //#ifndef ESP8266
55
- #define AAC_ENABLE_SBR 0
56
- // #endif
54
+ /* define these to enable decoder features */
55
+ #if defined( HELIX_FEATURE_AUDIO_CODEC_AAC_SBR )
56
+ # define AAC_ENABLE_SBR
57
+ #endif // HELIX_FEATURE_AUDIO_CODEC_AAC_SBR.
57
58
58
59
#pragma GCC optimize ("O3")
59
60
Original file line number Diff line number Diff line change @@ -99,10 +99,6 @@ extern "C" {
99
99
#define AAC_PROFILE_LC 1
100
100
#define AAC_PROFILE_SSR 2
101
101
102
- /* define these to enable decoder features */
103
- #if defined(HELIX_FEATURE_AUDIO_CODEC_AAC_SBR )
104
- #define AAC_ENABLE_SBR
105
- #endif // HELIX_FEATURE_AUDIO_CODEC_AAC_SBR.
106
102
#define AAC_ENABLE_MPEG4
107
103
108
104
enum {
You can’t perform that action at this time.
0 commit comments