[Speex-dev] Speex encoding/decoding producing garbled audio

Reed Hedges reed at activmedia.com
Mon Sep 13 05:13:20 PDT 2004


Nathaniel Meyer wrote:
> I'm getting garbled playback with decoded fragments and I'm hoping 
> someone here can point me in the right direction to correcting the problem.



What format does your playback require-- both datatypes and ranges? I 
wasn't sure why I was getting garbled noise until I realized that Speex 
samples range from 0.0f to 32768.0f (Is this documented anywhere in the 
Speex docs?), while my audio IO library (PortAudio) uses 0.0f to 1.0f :D

Reed




More information about the Speex-dev mailing list