On Thu, Mar 25, 2010 at 11:44 AM, Sam bushman <sb1 at xmission.com>
wrote:> Hi all,
>
> We have added celt to our application.
> We can get celt to encode/decode audio in one direction.
> It can be in either direction but, not both directions at the same time.
> Here is the problem from my programmer:
>
>
> The celt codecuses global static data and this makes it impossible to make
> two instances.
>
> This prevents us from making VoIP applications that need to code and decode
> at the
>
> same time.
Do not use the pseudo-stack, use alloca or c99 var-arrays. These are
configuration options. Any platform with threads should have one or
both of these facilities. Then the only 'shared' data will be
read-only.