Displaying 2 results from an estimated 2 matches for "voice_frame_size".
2004 Aug 06
0
libspeex crash with RC3
...tRate = 4000; // 4kbps == 10 bytes per 20 ms
peex_encoder_ctl( SpeexEncoderState, 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 == V...
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'