[xiph-commits] r12176 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Wed Dec 6 16:28:42 PST 2006
Author: jm
Date: 2006-12-06 16:28:40 -0800 (Wed, 06 Dec 2006)
New Revision: 12176
Modified:
trunk/speex/libspeex/filterbank.c
Log:
Make filterbank_psy_smooth more C89-friendly.
Modified: trunk/speex/libspeex/filterbank.c
===================================================================
--- trunk/speex/libspeex/filterbank.c 2006-12-06 23:54:34 UTC (rev 12175)
+++ trunk/speex/libspeex/filterbank.c 2006-12-07 00:28:40 UTC (rev 12176)
@@ -203,7 +203,7 @@
/* Low freq slope: 14 dB/Bark*/
/* High freq slope: 9 dB/Bark*/
/* Noise vs tone: 5 dB difference */
- float bark[bank->nb_banks];
+ float bark[NB_BANDS];
int i;
/* Assumes 1/3 Bark resolution */
float decay_low = 0.34145f;
More information about the commits
mailing list