[xiph-commits] r12687 - trunk/speex/libspeex
jm at svn.xiph.org
jm at svn.xiph.org
Thu Mar 8 14:32:55 PST 2007
Author: jm
Date: 2007-03-08 14:32:53 -0800 (Thu, 08 Mar 2007)
New Revision: 12687
Modified:
trunk/speex/libspeex/fftwrap.c
Log:
removed copy buffer now that I modified kiss_fft to use the right format.
Modified: trunk/speex/libspeex/fftwrap.c
===================================================================
--- trunk/speex/libspeex/fftwrap.c 2007-03-08 21:38:12 UTC (rev 12686)
+++ trunk/speex/libspeex/fftwrap.c 2007-03-08 22:32:53 UTC (rev 12687)
@@ -137,7 +137,6 @@
struct kiss_config {
kiss_fftr_cfg forward;
kiss_fftr_cfg backward;
- kiss_fft_cpx *freq_data;
int N;
};
@@ -145,7 +144,6 @@
{
struct kiss_config *table;
table = (struct kiss_config*)speex_alloc(sizeof(struct kiss_config));
- table->freq_data = (kiss_fft_cpx*)speex_alloc(sizeof(kiss_fft_cpx)*((size>>1)+1));
table->forward = kiss_fftr_alloc(size,0,NULL,NULL);
table->backward = kiss_fftr_alloc(size,1,NULL,NULL);
table->N = size;
@@ -157,7 +155,6 @@
struct kiss_config *t = (struct kiss_config *)table;
kiss_fftr_free(t->forward);
kiss_fftr_free(t->backward);
- speex_free(t->freq_data);
speex_free(table);
}
More information about the commits
mailing list