search for: nb_banks

Displaying 1 result from an estimated 1 matches for "nb_banks".

2008 Feb 19
4
Patch for Analog Devices compiler & fixed-point AGC
...- FilterBank *bank; + FilterBank *bnk; spx_word32_t df; spx_word32_t max_mel, mel_interval; int i; @@ -63,16 +63,16 @@ max_mel = toBARK(EXTRACT16(sampling/2)); mel_interval = PDIV32(max_mel,banks-1); - bank = (FilterBank*)speex_alloc(sizeof(FilterBank)); - bank->nb_banks = banks; - bank->len = len; - bank->bank_left = (int*)speex_alloc(len*sizeof(int)); - bank->bank_right = (int*)speex_alloc(len*sizeof(int)); - bank->filter_left = (spx_word16_t*)speex_alloc(len*sizeof(spx_word16_t)); - bank->filter_right = (spx_word16_t*)speex_alloc(len*siz...