[Speex-dev] Quick question

Phil DiFrancesca psd at island-sys.com
Sun Jun 7 22:13:16 PDT 2009


   I am developing my own file format and I have a question about the  
standard encode method:

speex_encode_int(st, raw, &bits);
nbBytes = speex_bits_write(&bits, s+1, 255);

   My question is : Will nbBytes ever be 0 ?  (even with an empty  
frame of all 0's passed to speex_encode_int)  In other words is it  
possible for the encoder to return
a compressed bit stream that is 0 bytes long ?


Phil DiFrancesca
011(66)80-557-8954 Mobile
psd at island-sys.com

More information about the Speex-dev mailing list