I integrated wma decoder (v01.21) into codec server on Beagleboard XM DM3730. But it failed to start as follows
@1,051,498us: [+0 T:0x4acc4460 S:0x4acc3b94] CE - Engine_initFromServer engine->server = 0x413ae0dc
@1,051,529us: [+0 T:0x4acc4460 S:0x4acc3b94] CE - Engine_initFromServer> Returning 0
@1,051,529us: [+0 T:0x4acc4460 S:0x4acc3bdc] CE - Engine_open> return(6639120)
@1,051,590us: [+0 T:0x4acc4460 S:0x4acc3b24] ti.sdo.ce.audio1.AUDDEC1 - AUDDEC1_create> Enter (engine=0x654e10, name='wmadec', params=0x4acc3cb8)
@1,051,620us: [+0 T:0x4acc4460 S:0x4acc3af4] CV - VISA_create(0x654e10, 'wmadec', 0x4acc3cb8, 0x488, 'ti.sdo.ce.audio1.IAUDDEC1')
@1,051,651us: [+0 T:0x4acc4460 S:0x4acc39ec] CV - VISA_create2(0x654e10, 'wmadec', 0x4acc3cb8, 0x10, 0x488, 'ti.sdo.ce.audio1.IAUDDEC1')
@1,051,681us: [+6 T:0x4acc4460 S:0x4acc39ec] CV - VISA_create2> FAILED to get IALG functions.
Check Engine configuration and module name of codec class (type arg).
@1,051,712us: [+0 T:0x4acc4460 S:0x4acc39c4] CV - VISA_delete(0x0)
@1,051,712us: [+0 T:0x4acc4460 S:0x4acc3b24] ti.sdo.ce.audio1.AUDDEC1 - AUDDEC1_create> return (0x0)
@1,051,742us: [+7 T:0x4acc4460 S:0x4acc3b4c] ti.sdo.dmai - [Adec1] Failed to open audio decode algorithm: wmadec
WARNING from element TIAuddec1_wma: failed to create audio decoder: wmadec
Here is cfg info in codec.cfg
{name: "mp3dec", mod: MP3DEC , threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 3},
groupId : 2,
},
{name: "wmadec", mod: WMADEC , threadAttrs: {
stackMemId: 0, priority: Server.MINPRI + 3},
groupId : 2,
},
and in package.xs
validate_one_codec( "ti.sdo.codecs.mp3dec", "MP3DEC" );
validate_one_codec( "ti.sdo.codecs.wmadec", "WMADEC" );
There is no problem to play mp3. The WMA datasheet says
.... This codec can be used on any of TI’sC64x+ based platforms such as DM644x, DM648, DM643x,DM646x,OMAP35xx and their derivatives.
Any suggestion of how to figure out the problem?