diff options
Diffstat (limited to 'codec2_internal.h')
-rw-r--r-- | codec2_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/codec2_internal.h b/codec2_internal.h index 498a6c4..b46e358 100644 --- a/codec2_internal.h +++ b/codec2_internal.h | |||
@@ -42,7 +42,7 @@ struct CODEC2 { | |||
42 | codec2_fft_cfg fft_fwd_cfg; /* forward FFT config */ | 42 | codec2_fft_cfg fft_fwd_cfg; /* forward FFT config */ |
43 | codec2_fftr_cfg fftr_fwd_cfg; /* forward real FFT config */ | 43 | codec2_fftr_cfg fftr_fwd_cfg; /* forward real FFT config */ |
44 | float *w; /* [m_pitch] time domain hamming window */ | 44 | float *w; /* [m_pitch] time domain hamming window */ |
45 | COMP W[FFT_ENC]; /* DFT of w[] */ | 45 | float W[FFT_ENC]; /* DFT of w[] */ |
46 | float *Pn; /* [2*n_samp] trapezoidal synthesis window */ | 46 | float *Pn; /* [2*n_samp] trapezoidal synthesis window */ |
47 | float *bpf_buf; /* buffer for band pass filter */ | 47 | float *bpf_buf; /* buffer for band pass filter */ |
48 | float *Sn; /* [m_pitch] input speech */ | 48 | float *Sn; /* [m_pitch] input speech */ |
@@ -82,6 +82,8 @@ struct CODEC2 { | |||
82 | unsigned int nse; /* number of terms in sum */ | 82 | unsigned int nse; /* number of terms in sum */ |
83 | float *user_rate_K_vec_no_mean_; /* optional, user supplied vector for quantisation experiments */ | 83 | float *user_rate_K_vec_no_mean_; /* optional, user supplied vector for quantisation experiments */ |
84 | int post_filter_en; | 84 | int post_filter_en; |
85 | float eq[NEWAMP1_K]; /* optional equaliser */ | ||
86 | int eq_en; | ||
85 | 87 | ||
86 | /*newamp2 states (also uses newamp1 states )*/ | 88 | /*newamp2 states (also uses newamp1 states )*/ |
87 | float energy_prev; | 89 | float energy_prev; |