[Speex-dev] SpeexBits Questions

Matt DeMoss mdemoss at uark.edu
Mon Jun 6 11:54:50 PDT 2005


The example in the documentation demonstrates using speex_bits_reset 
before encoding and decoding each frame.

"
speex_bits_reset(&bits);

speex_encode(enc_state, input_frame, &bits);

nbBytes = speex_bits_write(&bits, byte_ptr, MAX_NB_BYTES);
"

What happens if this is not done? I think I'm missing the point of 
having a SpeexBits object.




More information about the Speex-dev mailing list