search for: speexencoderstate

Displaying 3 results from an estimated 3 matches for "speexencoderstate".

2011 Jun 02
1
Any tips for speeding up encoding on iPhone?
...tting the recorder frequency to 16 Khz but didn't worked. Is there any way to optimize the encoding so it can keep up with the recording? Below you can find the code I'm using. Maybe you notice some obvious problems. - (void)initSpeexEncoder { speex_bits_init(&speexBits); speexEncoderState = speex_encoder_init(&speex_wb_mode); // get the frame size (expressed in samples) speexFrameSize = 0; speex_encoder_ctl(speexEncoderState, SPEEX_GET_FRAME_SIZE, & speexFrameSize); // set quality parameter that controls the quality vs bit-rate tradeoff UInt8 spe...
2004 Aug 06
0
libspeex crash with RC3
Narrowed it down a bit. For me the code crashes encoding the second frame if the first encoded frame was all zeros. Can someone else reproduce this or am I on crack and should look for a bug elsewhere? // Initialize speex encoder. SpeexEncoderBits = new SpeexBits; SpeexEncoderState = speex_encoder_init(&speex_nb_mode); INT FrameSize, SamplingRate = 8000, // 8000 Hz BitRate = 4000; // 4kbps == 10 bytes per 20 ms peex_encoder_ctl( SpeexEncoderState, SPEEX_SET_BITRATE , &BitRate ); speex_encoder_ctl( SpeexEncoderState, SPEEX_SET_SAMPLING_RATE , &am...
2004 Aug 06
3
libspeex crash with RC3
I tried to compress 160 samples of random garbage (range 0-500.f) at 4kbps and got a crash in nb_encode -> forced_pitch_quant because start was -858993460 (== ol_pitch). -- Daniel, Epic Games Inc. --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'speex-dev-request@xiph.org'