[Speex-dev] Memory Allocation to St

Vinay Kumar vinay at chipwerks.com
Wed Mar 14 03:13:46 PDT 2007


Can anyone tell me why the size of st is defined as:

 

      st = (EncState*)speex_alloc(sizeof(EncState)+8000*sizeof(float));

 

Reference: nb_encode_init function.

 

Specifically, I would like to know why 8000 floats are allocated?

 

Thanks and regards,

Vinay

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/speex-dev/attachments/20070314/14dee2ba/attachment.html


More information about the Speex-dev mailing list