Remove remove ARM call for info, decode. Remove code in DSP decodeProcessing(), state...
authorFrank Livingston <frank-livingston@ti.com>
Thu, 26 Jan 2017 23:06:07 +0000 (17:06 -0600)
committerFrank Livingston <frank-livingston@ti.com>
Thu, 26 Jan 2017 23:06:07 +0000 (17:06 -0600)
pasdk/test_dsp/framework/audioStreamInpProc.c

index 834be22b6d061020ebff560b0aaf9ec2b9c641c3..e7bf95020dc1b0f914db62daa73506c38c56c747 100644 (file)
@@ -2180,6 +2180,7 @@ PAF_ASIT_decodeProcessing(
 #endif                
 
 
+#if 0 // (***) FL: debug
 #ifdef NON_CACHE_STATUS
                 statusOp_read(&tempVar8,
                               &(pAstCfg->xDec[zMD].decodeStatus.sourceDecode),
@@ -2233,6 +2234,7 @@ PAF_ASIT_decodeProcessing(
                     state = INFO1;
                     continue;
                 }
+#endif // (***) FL: debug         
                 TRACE_VERBOSE1("PAF_ASIT_decodeProcessing: INFO1: frame %d, major access unit found", frame);
 
                 // Establish secondary timing
@@ -2969,6 +2971,7 @@ PAF_ASIT_decodeInfo(
                 return errno;
             }
 
+#if 0 // (***) FL: debug
 #if 1
             // (***) FL: revisit
             // write back Inp configuration
@@ -3034,6 +3037,7 @@ PAF_ASIT_decodeInfo(
             Cache_inv(&pAstCfg->xDec[z], sizeof(PAF_AST_Decode), Cache_Type_ALLD, 0);
             Cache_wait();                            
 #endif            
+#endif // (***) FL: debug
             
 #if 0 // FL: decoder info call, slave
             if (dec->fxns->info
@@ -3363,6 +3367,7 @@ PAF_ASIT_decodeDecode(
             // FL: debug, capture input buffer
             //capIbPcm(pAstCfg->xInp[z].pInpBuf);
             
+#if 0 // (***) FL: debug
             // (***) FL: revisit
             // write back Dec configuration
             Cache_wb(&pAstCfg->xDec[z], sizeof(PAF_AST_Decode), Cache_Type_ALLD, 0);
@@ -3431,7 +3436,8 @@ PAF_ASIT_decodeDecode(
             // invalidate Dec configuration
             Cache_inv(&pAstCfg->xDec[z], sizeof(PAF_AST_Decode), Cache_Type_ALLD, 0);
             Cache_wait();
-
+#endif // (***) FL: debug
+           errno = 0;
 #if 0 // FL: decoder decode call, slave
             if (dec->fxns->decode
                 && (errno = dec->fxns->decode (dec, NULL,