Thu Jul 8 15:38:42 PDT 2004
If you had read the manual, you would have seen that Speex takes 160
samples in narrowband mode and 320 in wideband mode (i.e. 20 ms). Also,
there are even sample encoder and decoder code (sampleenc.c and
sampledec.c) in the appendix.
Le jeu 08/07/2004 ? 18:35, Craft, Jerry a ?crit :
> 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
> Speex-dev mailing list
> Speex-dev at xiph.org
Universit? de Sherbrooke, Qu?bec, Canada
More information about the Speex-dev