[Speex-dev] [PATCH] symbian port
Alfred E. Heggestad
aeh at db.org
Wed Nov 15 03:25:23 PST 2006
hi Jean-Marc,
I just updated from svn and it looks like there are some errors in the speex.mmp
file. the filters.c is duplicated, and the fft/kiss.c files are still missing..
/alfred
Jean-Marc Valin wrote:
> Applied in svn. Thanks.
>
> Jean-Marc
>
> Alfred E. Heggestad a écrit :
>> hi,
>>
>> this patch should fix the symbian build.
>>
>>
>> /alfred
>>
>>
>> ------------------------------------------------------------------------
>>
>> Index: symbian/bld.inf
>> ===================================================================
>> --- symbian/bld.inf (revision 12114)
>> +++ symbian/bld.inf (working copy)
>> @@ -30,6 +30,20 @@
>> SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
>> */
>>
>> +PRJ_EXPORTS
>> +
>> +..\include\speex\speex_bits.h \epoc32\include\speex\speex_bits.h
>> +..\include\speex\speex_callbacks.h \epoc32\include\speex\speex_callbacks.h
>> +..\include\speex\speex_config_types.h \epoc32\include\speex\speex_config_types.h
>> +..\include\speex\speex_echo.h \epoc32\include\speex\speex_echo.h
>> +..\include\speex\speex.h \epoc32\include\speex\speex.h
>> +..\include\speex\speex_header.h \epoc32\include\speex\speex_header.h
>> +..\include\speex\speex_jitter.h \epoc32\include\speex\speex_jitter.h
>> +..\include\speex\speex_preprocess.h \epoc32\include\speex\speex_preprocess.h
>> +..\include\speex\speex_stereo.h \epoc32\include\speex\speex_stereo.h
>> +..\include\speex\speex_types.h \epoc32\include\speex\speex_types.h
>> +
>> +
>> PRJ_MMPFILES
>>
>> speex.mmp
>> Index: symbian/speex.mmp
>> ===================================================================
>> --- symbian/speex.mmp (revision 12114)
>> +++ symbian/speex.mmp (working copy)
>> @@ -36,10 +36,10 @@
>> MACRO HAVE_CONFIG_H
>> SOURCEPATH ..\libspeex
>> SOURCE bits.c cb_search.c exc_5_64_table.c exc_5_256_table.c exc_8_128_table.c
>> -SOURCE exc_10_16_table.c exc_10_32_table.c exc_20_32_table.c filters.c gain_table.c
>> +SOURCE exc_10_16_table.c exc_10_32_table.c exc_20_32_table.c fftwrap.c kiss_fft.c kiss_fftr.c filterbank.c filters.c gain_table.c
>> SOURCE gain_table_lbr.c hexc_10_32_table.c hexc_table.c high_lsp_tables.c jitter.c
>> SOURCE lbr_48k_tables.c lpc.c lsp.c lsp_tables_nb.c ltp.c math_approx.c mdf.c misc.c
>> SOURCE modes.c nb_celp.c preprocess.c quant_lsp.c sb_celp.c smallft.c
>> -SOURCE speex.c speex_callbacks.c speex_header.c stereo.c vbr.c vq.c
>> +SOURCE speex.c speex_callbacks.c speex_header.c stereo.c vbr.c vq.c window.c
>> USERINCLUDE . ..\include\speex
>> SYSTEMINCLUDE \epoc32\include \epoc32\include\libc ..\include
>> Index: libspeex/fftwrap.c
>> ===================================================================
>> --- libspeex/fftwrap.c (revision 12114)
>> +++ libspeex/fftwrap.c (working copy)
>> @@ -103,8 +103,9 @@
>> if (in==out)
>> {
>> int i;
>> + float scale;
>> speex_warning("FFT should not be done in-place");
>> - float scale = 1./((struct drft_lookup *)table)->n;
>> + scale = 1./((struct drft_lookup *)table)->n;
>> for (i=0;i<((struct drft_lookup *)table)->n;i++)
>> out[i] = scale*in[i];
>> } else {
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Speex-dev mailing list
>> Speex-dev at xiph.org
>> http://lists.xiph.org/mailman/listinfo/speex-dev
More information about the Speex-dev
mailing list