search for: peex_bits_init

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

Did you mean: speex_bits_init
2004 Aug 06
0
libspeex crash with RC3
...te, SPEEX_SET_BITRATE , &BitRate ); speex_encoder_ctl( SpeexEncoderState, SPEEX_SET_SAMPLING_RATE , &SamplingRate ); speex_encoder_ctl( SpeexEncoderState, SPEEX_GET_FRAME_SIZE , &FrameSize ); FLOAT Src[VOICE_FRAME_SIZE]; appMemzero( Src, sizeof(Src) ); char Dest[VOICE_FRAME_SIZE]; peex_bits_init( SpeexEncoderBits ); speex_bits_reset( SpeexEncoderBits ); speex_encode( SpeexEncoderState, Src, SpeexEncoderBits ); INT PacketSize = speex_bits_write( SpeexEncoderBits, Dest, VOICE_FRAME_SIZE ); check( FrameSize == VOICE_FRAME_SIZE ); check( PacketSize == FVoicePacket::Size ); peex_bits_rese...
2004 Aug 06
2
Bitrate in encoder
...libspeex (checked out today) and have some problems with checking the target bitrate in the encoder. Calling: peex_encoder_ctl(globals->enc_state,SPEEX_GET_BITRATE, &bitrate); Seems to set bitrate to 24600 no matter what the qualitysetting is.. The functions used previous to this call is: peex_bits_init(&globals->bits); globals->enc_state = speex_encoder_init(&speex_nb_mode); speex_encoder_ctl(globals->enc_state,SPEEX_SET_COMPLEXITY,..); speex_encoder_ctl(globals->enc_state,SPEEX_SET_QUALITY, ..); speex_encoder_ctl(globals->enc_state,SPEEX_GET_BITRATE, &bitrate); The la...
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'