I'm still at this task, looking to use dsplink's message queues in a different thread of a CE application. I'm essentially trying to merge CE's audio_copy example and dsplink's readwrite example.
I've gotten the two to build happily together, requiring some evil #define's to resolve conflicting typedefs between <xdc/std.h> and dsplink's gpp/inc/gpptypes.h. Now, I'm presented with the issue of what pool to open and pass to MSGQ_transportOpen. If I try to pass pool 0, without opening it explicitly, I get: MSGQ_transportOpen () failed. Status: [0x80008000] and this in dmesg: <1>[ 145.490000] Assertion failed (ipsEventList [i].eventHandlerCount == 0). File : ../../IPS/Davinci/ips.c Line : 554 <1>[ 145.510000] Assertion failed (IPS_IsInitialized [dspId][ipsId] == TRUE). File : ../../IPS/Davinci/ips.c Line : 811 If I open pool 0, I get the same error from MSGQ_transportOpen if I open the pool first. If I try to open any other pool (e.g. pool id 1), dmesg comes back with <1>[ 335.090000] Assertion failed (poolId < poolState->numPools). File : POOLS/ldrv_pool.c Line : 605 <1>[ 335.120000] Assertion failed (poolId < poolState->numPools). File : POOLS/ldrv_pool.c Line : 699 <1>[ 335.130000] Assertion failed (((*msg != NULL) && (DSP_SUCCEEDED (status))) || ((*msg == NULL) && (DSP_FAILED (status)))). File : ldrv_msgq.c Line : 872 <1>[ 335.180000] Assertion failed (ipsEventList [i].eventHandlerCount == 0). File : ../../IPS/Davinci/ips.c Line : 554 <1>[ 335.200000] Assertion failed (IPS_IsInitialized [dspId][ipsId] == TRUE). File : ../../IPS/Davinci/ips.c Line : 811 How do I allocate and open a separate pool for my dsplink gear when using codec engine? Any advice would be greatly appreciated :) Cheers, Bernard. _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
