search for: bank_right

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

2008 Feb 19
4
Patch for Analog Devices compiler & fixed-point AGC
...@@ -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*sizeof(spx_word16_t)); + bnk = (FilterBank*)speex_alloc(sizeof(FilterBank)); + bnk->nb_banks = banks; + bnk->...