[Speex-dev] speex encode and speex_bits_write buffer size

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Aug 28 03:52:55 PDT 2008


Ashhar Farhan a écrit :
> how many calls can I make to speex_encode_int before calling
> speex_bits_write? Can I stuff 10 frames?

Yes. Even if you put more, it'll just auto-resize the buffer. For 10
frames, it won't even have to resize.

Cheers,

	Jean-Marc


More information about the Speex-dev mailing list