When I run a g729 app in TI816x and use CE_DEBUG,there is a message for scratch memory
[DSP] [t=0x025ee8ea] [tid=0xb70005a0] ti.sdo.fc.dskt2: [+6] DSKT2_createAlg3> Scratch Memory requested by algorithm, but algActivate, algDeactivate functions not implemented.
I set scratch memory in server configuration file :
{name: "g729abdec", mod: G729ABDEC, groupId: 0, threadAttrs: {
stackMemId: 0, priority: Server.MAXPRI}
},
{name: "g729abenc", mod: G729ABENC, groupId: 0, threadAttrs: {
stackMemId: 0, priority: Server.MAXPRI}
},
DSKT2.ALLOW_EXTERNAL_SCRATCH = true;
DSKT2.DARAM_SCRATCH_SIZES[0] = 32 * 1024; // 32k scratch for groupId 0
I also find out g729 codec documention for scratch memory which g729 codec support.
Why?