[Asterisk-Dev] Re: bug in speex codec 1.1.8?

Luke Kenneth Casson Leighton lkcl at lkcl.net
Thu May 12 10:40:26 MST 2005


On Thu, May 12, 2005 at 11:45:50AM -0400, Jean-Marc Valin wrote:
> Le jeudi 12 mai 2005 ? 14:54 +0100, Luke Kenneth Casson Leighton a
> ?crit :
> > the use of speex_decode instead of speex_decode_int is causing
> > incompatibility problems.  using speex_decode_int results in
> > actually hearing audio data.
> 
> speex_decode uses exactly the same code as speex_decode_int, except that
> it outputs to a float array. Are you sure you're not sending a short
> buffer to speex_decode().
 
 yep.

 i get complete trash (well, not quite -
 microphone-volume-level-triggered pink noise) and when
 i convert codec_speex.c to use speex_decode_int, i get
 audio.




More information about the asterisk-dev mailing list