Changeset 780:2d85b79204bd in mediastreamer2
- Timestamp:
- Nov 23, 2009 2:51:36 PM (4 years ago)
- Branch:
- default
- File:
-
- 1 edited
-
linphone/mediastreamer2/src/equalizer.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
linphone/mediastreamer2/src/equalizer.c
r612 r780 42 42 typedef struct _EqualizerState{ 43 43 int rate; 44 int nfft; / /number of fft points in time44 int nfft; /*number of fft points in time*/ 45 45 ms_word16_t *fft_cpx; 46 46 int fir_len; … … 59 59 } 60 60 61 /* TODO: rate also beyond 8000 */ 61 62 static EqualizerState * equalizer_state_new(int nfft){ 62 63 EqualizerState *s=(EqualizerState *)ms_new0(EqualizerState,1); … … 146 147 equalizer_point_set(s, i, f, gain); 147 148 } 148 while (i <TAPS&& (gain>1.1 || gain<0.9));149 while (i < s->nfft/2 && (gain>1.1 || gain<0.9)); 149 150 i = mid; 150 151 do { /* ... and here +delta, as to */
Note: See TracChangeset
for help on using the changeset viewer.
