I am writting an adapter for g729ab codec, being intergrated into server successfully! But when I use app's API to call this codec, this lead to system crash. I suspect the ialg fxns functions called has some problem,so I replaced the g729abenc ialg function with SPHENC1_COPY ialg function, there is no crash occured.
I think I really don't know how to call codec library in writting adapter, I list a part of call function.
g729abencfxns->ialg.algAlloc(params, fxns, memTab);
g729abencfxns->process(handle, inBuf, outBuf, inArgs, outArgs);
This is my adapter package, I have deleted the g729ab library because TI's limited.