This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

G.722.2 codec Xdais package with DSP BIOS

Hi All...


I'm using G.722.2 codec from "c55x_g7222_2_00_01_003_production" which uses Xdais packaging in my project.

But my project needs DSP/BIOS and I'm using BIOS 5.41.10.36 with Xdais 7.21.1.07 with CCS v4.2.4.

Now when I create WSE_Handle and WSD_Handles using the AMR Encoder and AMR Decoder packages to use in my project, the handle that I create second over writes the handle that I create first and hence either encoder or decoder will not work dependiing on which I create first or second.

How do I overcome this issue..?

As a separate project both run fine. But when I want them to use together, I have this issue.

Please help me out.

Thanks & regards,

Ashok

  • I guess all this issue is due to the fact that the code in dec_alg_create.c and enc_alg_create.c are same and only dec_alg_create.c gets loaded into the memory. Same is the case with dec_alg_malloc.c and enc_alg_malloc.c.

    Same function names try to do different things for the dsp and hence fails.

    Any suggestion how to overcome this..? I cannot modify the create or alloc functions...

    Regards,

    Ashok

  • Hi,

    We will work on this and will let you know the update as soon as possible.

    Thanks & regards,

    Sivaraj K

  • Thanks for the response. I got it working. I changed all the function names in enc_alg_create.c, enc_alg_malloc.c, dec_alg_create.c and dec_alg_malloc.c by adding _enc and _dec respectively and then it worked.

    Now my encoder and decoder handles are not corrupted by each other.

    Thanks & regards,

    Ashok