[Speex-dev] HELP?

Craft, Jerry Jerry
Thu Jul 8 15:35:01 PDT 2004

Linux/Fedora Core 2
Soundblaster 128 PCI

I am capturing U8 (unsigned 8 bit mono) audio from the sound blaster and
attempting to
compress it with speex.  I have built and installed speex on the computer
and can compile
and link with no problems. I have the sample programs (sampleenc.c and
which I am following.  The only difference is my raw data is in a char array
and not
written to a file.

Everytime I call speex_encode and speex_bits_write I get a return value of

I found the max byte size bit stream of 2000 in the speex_bits.h but no
matter if
I pass it 200 or 2000 I always get 38 bytes back.

Any clues ??

Jerry R Craft
Titan Systems
7436 Mission Valley Road
San Diego, Ca. 92108
wk 619.278.2012
cel 760.855.3329

More information about the Speex-dev mailing list