[Asterisk-Dev] Re: bug in speex codec 1.1.8?
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Fri May 13 03:49:51 MST 2005
On Thu, May 12, 2005 at 03:00:05PM -0400, Jean-Marc Valin wrote:
> Sorry, my fault on this one. Here's the patch:
>
> Index: speex.c
> ===================================================================
> --- speex.c (revision 9178)
> +++ speex.c (working copy)
> @@ -112,7 +112,7 @@
> {
> 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++)
that'd do it *grin*
More information about the asterisk-dev
mailing list