Oops. Fixed speex_decode() (float version only) when compiling with FIXED_POINT
authorjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Fri, 13 May 2005 07:20:41 +0000 (07:20 +0000)
committerjm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800>
Fri, 13 May 2005 07:20:41 +0000 (07:20 +0000)
git-svn-id: http://svn.xiph.org/trunk/speex@9275 0101bb08-14d6-0310-b084-bc0e0c8e3800

libspeex/speex.c

index 78f3bd7..94829e6 100644 (file)
@@ -112,7 +112,7 @@ int speex_decode(void *state, SpeexBits *bits, float *out)
 {
    int i, ret;
    int N;
-   float short_out[MAX_IN_SAMPLES];
+   spx_int16_t short_out[MAX_IN_SAMPLES];
    speex_decoder_ctl(state, SPEEX_GET_FRAME_SIZE, &N);
    ret = (*((SpeexMode**)state))->dec(state, bits, short_out);
    for (i=0;i<N;i++)