Merge remote-tracking branch 'origin/dev_pasdk_govind_pasdk53IpDataDebug' into dev_pa...
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / framework / audioStreamInpProc.c
index b07aa9eb9c2f2ba84c8e3740cbb916a1a7f6e199..7b1dbf891eacd612781ff3f497cc19bd8c421803 100644 (file)
@@ -320,6 +320,9 @@ extern struct {
     IALG_Status *pStatus[512];
 } IACP_STD_BETA_TABLE;
 
+// FL: debug
+#include "evmc66x_pinmux.h"
+#include "evmc66x_gpio_dbg.h"
 
 /*
  *  ======== taskAsipFxn ========
@@ -1914,7 +1917,7 @@ PAF_ASIT_autoProcessing(
     if (nbytes == -DIBERR_SYNC)
     {
         TRACE_TERSE2("PAF_ASIT_autoProcessing: AS%d: SIO_reclaim returned 0x%x, ignoring", as+zMS, nbytes);
-        return 0;
+        return nbytes;
     }
     if (nbytes != sizeof(PAF_InpBufConfig))
     {
@@ -2313,8 +2316,8 @@ PAF_ASIT_decodeProcessing(
             
                 if (errno = pP->fxns->decodeDecode(pP, pQ, pC, sourceSelect, frame, block))
                 {
-                    gAsipDecodeErrCnt++;
-                    TRACE_TERSE1("PAF_ASIT_decodeProcessing: state: DECODE.  decodeDecode err 0x%04x", errno);
+                       gAsipDecodeErrCnt++;
+                       TRACE_TERSE1("PAF_ASIT_decodeProcessing: state: DECODE.  decodeDecode err 0x%04x", errno);
                     break;
                 }