From: Frank Livingston Date: Thu, 26 Jan 2017 22:59:56 +0000 (-0600) Subject: Add capIb at DSP Rx SIO reclaim X-Git-Url: https://git.ti.com/gitweb?p=processor-sdk%2Fperformance-audio-sr.git;a=commitdiff_plain;h=6ff74574d86fe77d1ea2a41e82bf8c55f13c7dbf Add capIb at DSP Rx SIO reclaim --- diff --git a/pasdk/test_dsp/framework/audioStreamInpProc.c b/pasdk/test_dsp/framework/audioStreamInpProc.c index bef35437..c3fbfe38 100644 --- a/pasdk/test_dsp/framework/audioStreamInpProc.c +++ b/pasdk/test_dsp/framework/audioStreamInpProc.c @@ -306,10 +306,10 @@ UInt32 gAsipDecodeCnt =0; UInt32 gAsipDecodeErrCnt =0; UInt32 gAsipFinalCnt =0; UInt32 gAsipQuitCnt =0; -UInt32 gIbReset_cnt =0; -UInt32 gcapIb_cnt =0; +UInt32 gIbReset_cnt =0; +UInt32 gcapIb_cnt =0; UInt32 gAsipInfo2_PrimaryErrCnt =0; -UInt32 gAsipInfo2_ErrCnt =0; +UInt32 gAsipInfo2_ErrCnt =0; #include "dbgDib.h" @@ -877,8 +877,9 @@ Void taskAsipFxn( } // FL: debug, reset IB capture buffer - //capIbReset(); - //Log_info0("capIbReset()"); + capIbReset(); + gIbReset_cnt++; + Log_info0("capIbReset()"); // FL: send source select message to slave pAspMsg = (ASP_Msg *)MessageQ_alloc(hAspMsgMaster->heapId, hAspMsgMaster->msgSize); /* allocate message */ @@ -2298,7 +2299,7 @@ PAF_ASIT_decodeProcessing( if (errno = pP->fxns->decodeDecode(pP, pQ, pC, sourceSelect, frame, block)) { - gAsipDecodeErrCnt++; + gAsipDecodeErrCnt++; TRACE_TERSE1("PAF_ASIT_decodeProcessing: state: DECODE. decodeDecode err 0x%04x", errno); break; } @@ -2915,7 +2916,9 @@ PAF_ASIT_decodeInfo( } // FL: debug, capture input buffer - //capIb(pAstCfg->xInp[zMI].pInpBuf); + + capIb(pAstCfg->xInp[zMI].pInpBuf); + gcapIb_cnt++; // // Simulate Rx SIO_reclaim() pend