[Speex-dev] problem with compression and decompression
Syed Mohammad Irteza
smirteza at gmail.com
Fri Sep 8 05:41:50 PDT 2006
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.
IRTEZA
On 9/8/06, Jean-Marc Valin <jean-marc.valin at usherbrooke.ca> wrote:
>
> > 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?
>
> Jean-Marc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20060908/0e2a885e/attachment.htm
More information about the Speex-dev
mailing list