diff --git a/pasdk/test_arm/framework/audioStreamDecodeProc.c b/pasdk/test_arm/framework/audioStreamDecodeProc.c
index 90d281948dc651995b6314a09709d9e04d94a571..34d2cd829972046bbbf6b64eb4556cad01d06fc8 100644 (file)
TRACE_TERSE2("TaskAsdp: AS%d: initialization phase - %d completed", as+zMS, i);
LINNO_RPRT(TaskAsdp, -i-3);
}
-
- //
- // End of Initialization -- final memory usage report.
- //
- if (pP->fxns->memStatusPrint)
- {
- pP->fxns->memStatusPrint("ASDT MEMSTAT REPORT",
- HEAP_INTERNAL, HEAP_INTERNAL1, HEAP_EXTERNAL,
- HEAP_INTERNAL1_SHM, HEAP_EXTERNAL_SHM, HEAP_EXTERNAL_NONCACHED_SHM);
- }
-
+
#ifdef NON_CACHE_STATUS
//
// init Status structure Gate
}
#endif
+ //
+ // End of Initialization -- final memory usage report.
+ //
+ if (pP->fxns->memStatusPrint)
+ {
+ pP->fxns->memStatusPrint("ASDT MEMSTAT REPORT",
+ HEAP_INTERNAL, HEAP_INTERNAL1, HEAP_EXTERNAL,
+ HEAP_INTERNAL1_SHM, HEAP_EXTERNAL_SHM, HEAP_EXTERNAL_NONCACHED_SHM);
+ }
+
// (***) FL: revisit
// write back Status structure addresses for Beta Units initialized on Slave
Cache_wb((Ptr)(&IACP_STD_BETA_TABLE.pStatus[STD_BETA_DECODE]), sizeof(IALG_Status *), Cache_Type_ALLD, 0);
//maxFrameLength += PA_MODULO - maxFrameLength % PA_MODULO; // compute maximum framelength (needed for ARC support)
//aLen = numchan[z] * maxFrameLength;
aLen = numchan[z] * maxFrameLength + (maxFrameLength - FRAMELENGTH); /* Qin - need additional memory for starting offset
- See line 1301 */
+ See line 1301 */
//
// Initialize audio frame elements directly