专家您好:
我使用的是DM368,DVSDK4.02.0006
当我运行AUDENC1_create(gALG_hEngine, name, NULL)时debug信息如下,请问是哪里的问题呢?
@9,353,229us: [+0 T:0x40b08490 S:0x40b07cfc] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_create> Enter (engine=0x293410, name='g711enc', params=0x0)
@9,353,499us: [+0 T:0x40b08490 S:0x40b07ccc] CV – VISA_create(0x293410, 'g711enc', 0x0, 0x480, 'ti.sdo.ce.audio1.IAUDENC1')
@9,353,690us: [+0 T:0x40b08490 S:0x40b07bc4] CV – VISA_create2(0x293410, 'g711enc', 0x0, 0x0, 0x480, 'ti.sdo.ce.audio1.IAUDENC1')
@9,353,939us: [+6 T:0x40b08490 S:0x40b07ba4] CE – Engine_getConstName> Unable to locate alg "g711enc" (type "ti.sdo.ce.audio1.IAUDENC1").
@9,354,168us: [+6 T:0x40b08490 S:0x40b07bc4] CV – VISA_create2> Unable to locate alg "g711enc".
@9,354,325us: [+0 T:0x40b08490 S:0x40b07b9c] CV – VISA_delete(0x0)
@9,354,469us: [+0 T:0x40b08490 S:0x40b07cfc] ti.sdo.ce.audio1.AUDENC1 – AUDENC1_create> return (0x0)
我的config文件中相关部分如下
var G711ENC = xdc.useModule('ittiam.codecs.g711_enc.ce.G711_ENC');
还望给予指点,谢谢!
Coolen Xue:
看起来,很可能是你的gALG_hEngine中没有集成进名为"g711enc"的算法,你可以结合使用Engine_getNumAlgs与 Engine_getAlgInfo把这个engine中集成进的算法遍历输出出来,看看,里面是否真的集成了g711enc这个算法。