[Speex-dev] speex encode and speex_bits_write buffer size

Ashhar Farhan farhan at phonestack.com
Thu Aug 28 03:57:33 PDT 2008


when i try putting more than 4 packets in the buffer, i get noise from
the end packets. maybe it is my bad, but it is happening across
symbian and pocket pc builds. i will test more and report.

- farhan

On Thu, Aug 28, 2008 at 4:22 PM, Jean-Marc Valin
<jean-marc.valin at usherbrooke.ca> wrote:
> 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
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev
>


More information about the Speex-dev mailing list