SV: [Speex-dev] problem with compression and decompression

Jonas Tärnström njt at
Sat Sep 9 09:58:42 PDT 2006

For Wideband 16000 hz, and for narrow band 8000 hz.
-----Ursprungligt meddelande-----
Från: speex-dev-bounces at [mailto:speex-dev-bounces at] För
Syed Mohammad Irteza
Skickat: den 8 september 2006 14:42
Till: Jean-Marc Valin; speex-dev at
Ämne: Re: [Speex-dev] problem with compression and decompression
I think I made a mistake by saying BUFFERSIZE is "size of frames which I
read". It is rather the size of the frames which I capture from the MIC,
which I then provide to the Compress function. 

Could you suggest a frequency which is more suitable? Please note, that
the program gives us proper playback sounds if I don't run the
compression/decompression functions. 


On 9/8/06, Jean-Marc Valin < <mailto:jean-marc.valin at>
jean-marc.valin at
> wrote: 
 <mailto:jean-marc.valin at> > 22050 (which is the frequency
with which to take sound samples)

22050 isn't recommended

> AL_FORMAT_MONO16 (which is the OpenAL format in use)
> BUFFERSIZE (which is 1024, the size of the frames which I read) 

Where did you read that you get to choose the frame size?

 <mailto:jean-marc.valin at>  
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Speex-dev mailing list