From: Frank Livingston Date: Wed, 5 Jul 2017 16:52:44 +0000 (-0500) Subject: PASDK-218:Change order of CB init and Dec Info Out Init-Sync X-Git-Url: https://git.ti.com/gitweb?p=processor-sdk%2Fperformance-audio-sr.git;a=commitdiff_plain;h=2eb9c811e5fd3fa6c01ac60f418a67b03a5c7ae8 PASDK-218:Change order of CB init and Dec Info Out Init-Sync --- diff --git a/pasdk/test_arm/framework/audioStreamDecodeProc.c b/pasdk/test_arm/framework/audioStreamDecodeProc.c index d64d53f8..3f82143e 100644 --- a/pasdk/test_arm/framework/audioStreamDecodeProc.c +++ b/pasdk/test_arm/framework/audioStreamDecodeProc.c @@ -682,16 +682,6 @@ Void taskAsdpFxn( if (checkDecSync(pDecCtrlAf) == 1) { - // Perform Dec Info Init-Sync - // - Write Dec Info1 output audio frame - // - Set Dec Info1 decoder stage flag - outIsErrno = outIsWriteDecStageFlagAndAf(pOutIsCtl, z, - ASP_OUTIS_DEC_STAGE_INFO1_IDX, 1, pDecCtrlAf); - if (outIsErrno < 0) - { - SW_BREAKPOINT; // debug - } - // // FL: cbInitSourceSel() moved from DSP:ASIT:INIT:decodeInit() // frameLength: changed to decodeControl.frameLength. @@ -711,6 +701,16 @@ Void taskAsdpFxn( // debug cbLog(pCbCtl, z, 1, "cbInitSourceSel"); + // Perform Dec Info Init-Sync + // - Write Dec Info1 output audio frame + // - Set Dec Info1 decoder stage flag + outIsErrno = outIsWriteDecStageFlagAndAf(pOutIsCtl, z, + ASP_OUTIS_DEC_STAGE_INFO1_IDX, 1, pDecCtrlAf); + if (outIsErrno < 0) + { + SW_BREAKPOINT; // debug + } + outIsDecInfo1Flag = 1; // set flag to indicate OutIS Dec Info has executed } }