search for: m_preprocess

Displaying 2 results from an estimated 2 matches for "m_preprocess".

Did you mean: m_ppreprocess
2007 Dec 06
2
Some question about speexcodex 1.2 beta2 on linux
...its; int m_frame_size; int m_channels = 1; // SpeeX encode options int m_bitrate = (8 << 10); int m_complexity = 3; int m_quality = 8; int m_encMode = 6; int m_iAGC = 0; int m_iDenoise = 0; SpeexPreprocessState *m_preProcesser; int nOff = 0, nOn = 1; int modex=30; speex_bits_init(&bits); state = speex_encoder_init(&speex_nb_mode); speex_encoder_ctl(state,SPEEX_RESET_STATE,NULL); speex_encoder_ctl(state,SPEEX_RESET_STATE,NULL); speex_encoder_ctl(state,SPEEX...
2007 Nov 20
0
speex_bits_write / speex_bits_read_from - getting Static
...gt;Length; short* inputptr = (short*) malloc(numSamples*sizeof(short)); unsigned int i = 0; for(i = 0; i<numSamples; i++) inputptr[i] = (short) inputFrame[i]; //end lazy man's conversion speex_bits_reset(m_bits); //preprocess the input //speex_preprocess(m_preprocess, inputptr); //encode speex_encode_int(m_encoderState, inputptr, m_bits); char outputFrame[SPEEX_MAX_ENCODE_SIZE_PER_FRAME]; free(inputptr); unsigned int numBytes = speex_bits_write(m_bits, outputFrame, SPEEX_MAX_ENCODE_SIZE_PER_FRAME); //begin lazy man's conversion...