summaryrefslogtreecommitdiff
path: root/apps/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs')
-rw-r--r--apps/codecs/libfaad/structs.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/codecs/libfaad/structs.h b/apps/codecs/libfaad/structs.h
index c241cc41f3..a6114f412a 100644
--- a/apps/codecs/libfaad/structs.h
+++ b/apps/codecs/libfaad/structs.h
@@ -45,6 +45,8 @@ extern "C" {
45#define MAX_LTP_SFB_S 8 45#define MAX_LTP_SFB_S 8
46#define FRAME_LEN 1024 46#define FRAME_LEN 1024
47 47
48#define DRC_MAX_CHANNELS 64 /* Should be the same as MAX_CHANNELS, but the DRC code expects 64 */
49
48/* used to save the prediction state */ 50/* used to save the prediction state */
49typedef struct { 51typedef struct {
50 int16_t r[2]; 52 int16_t r[2];
@@ -91,8 +93,8 @@ typedef struct
91 uint8_t prog_ref_level; 93 uint8_t prog_ref_level;
92 uint8_t dyn_rng_sgn[17]; 94 uint8_t dyn_rng_sgn[17];
93 uint8_t dyn_rng_ctl[17]; 95 uint8_t dyn_rng_ctl[17];
94 uint8_t exclude_mask[MAX_CHANNELS]; 96 uint8_t exclude_mask[DRC_MAX_CHANNELS];
95 uint8_t additional_excluded_chns[MAX_CHANNELS]; 97 uint8_t additional_excluded_chns[DRC_MAX_CHANNELS/7];
96 98
97 real_t ctrl1; 99 real_t ctrl1;
98 real_t ctrl2; 100 real_t ctrl2;