search for: speexcodec

Displaying 6 results from an estimated 6 matches for "speexcodec".

2004 Aug 06
0
About sample code
I write a sample code like speex provide , as follows: SpeeXCodec::SpeeXCodec() { rate = 8000; speex_bits_init(&enbits); speex_bits_init(&debits); enc_state = speex_encoder_init(&speex_nb_mode); dec_state = speex_decoder_init(&speex_nb_mode); // set option for encoder speex_encoder_ctl(enc_state, SPEEX_GET_FRAME_SIZE, &frame_size); sp...
2004 Aug 06
1
openh323 conflict; can speex_encode take short?
openh323 speexcodec.cxx has: BOOL SpeexCodec::EncodeFrame(BYTE * buffer, unsigned & length) { // convert PCM to float float floatData[SAMPLES_PER_FRAME]; PINDEX i; for (i = 0; i < SAMPLES_PER_FRAME; i++) floatData[i] = sampleBuffer[i]; // encode PCM data in sampleBuffer to buffer speex_bits_re...
2007 Dec 10
1
SpeexCodec run in linux of decode
Hi , may I ask some question about the decode files? here is my decode.c but when the program run to speex_encoder_destroy(state); It shows that segmentation fault ,I feel comfused, could you tell thanks! #define MAX_FRAME_SIZE 320 int main() { FILE *fout; char *inFile; FILE *fin; short out[MAX_FRAME_SIZE]; char cbits[200]; int nbBytes; void *state; SpeexBits bits; //int tmp; int
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
Hi, I am an user of speex codec.Can I ask some question about the speexcodec 1.2beta2 on installed to linux(fedora 6) thanks! After I downloaded the latest version of codec then I type the commands to install : configure -prefix=/home/...../test -enable-shared -enable-static make make install then I try to compile my encode.c here is the encode.c of mine: ==============...
2006 Jun 27
7
Library split (poll)
Hi everyone, In the 1.1.x branch, I've kept adding more stuff to libspeex: preprocessor, AEC, etc. I'm now considering moving all those to a separate library (libvoip, libspeech, whatever). Anyone on this list has good reasons I should consider for either splitting or not splitting libspeex? Cheers, Jean-Marc
2006 Jun 28
1
Library split (poll)
Hi Jean Marc, On Wed, 28 Jun 2006, Alfred E. Heggestad wrote: > good idea to split the libraries > > If e.g. AEC/Jitterbuffer can be used with other codecs such as G711, > without linking to the speexcodec lib, I think people will reuse the > Speex jitterbuffer implentation and avoid writing their own. > > what about: > > libspeexpreproc Preprocessor > libspeexaec Acoustic Echo Cancellation > libspeexjitter Jitter buffer > libspeexcodec Speex codec itself In ca...