PADSK-443:Remove CB debug code
authorFrank Livingston <frank-livingston@ti.com>
Tue, 21 Nov 2017 18:15:01 +0000 (12:15 -0600)
committerFrank Livingston <frank-livingston@ti.com>
Tue, 21 Nov 2017 18:15:01 +0000 (12:15 -0600)
pasdk/test_arm/framework/aspDecOpCircBuf_slave.c

index a5025e0e5005e32d7b130ad19292c72957375925..434bc9b11a818d9e9d88607067414731185c3a8c 100644 (file)
@@ -478,10 +478,10 @@ Int cbWriteStop(
 //Int16 gSampleCountBuf[10];
 //Int16 gCalcDeltaSampsBuf[10];
 //Int8 gPrimedFlagCnt=0;
-
-Int32 gPcmOvershootWrap1=0;
-Int32 gPcmOvershootWrap2=0;
-Int32 gPcmOvershootNoWrap=0;
+// debug
+//Int32 gPcmOvershootWrap1=0;
+//Int32 gPcmOvershootWrap2=0;
+//Int32 gPcmOvershootNoWrap=0;
 
 // (***) FL: revisit
 // Write audio frame to circular buffer
@@ -604,7 +604,7 @@ Int cbWriteAf(
                         ((pPcmBuf + pAfWrt->sampleCount) >= pPcmBufRd))
                     {
                         pCb->errPcmOvrCnt++;
-                        gPcmOvershootWrap1 = pPcmBuf + pAfWrt->sampleCount - pPcmBufRd;
+                        //gPcmOvershootWrap1 = pPcmBuf + pAfWrt->sampleCount - pPcmBufRd; // debug
                         pcmOvr = 1;
                     }
                     
@@ -617,7 +617,7 @@ Int cbWriteAf(
                             ((pPcmBuf + pAfWrt->sampleCount) >= pPcmBufRd))
                         {
                             pCb->errPcmOvrCnt++;
-                            gPcmOvershootWrap2 = pPcmBuf + pAfWrt->sampleCount - pPcmBufRd;
+                            //gPcmOvershootWrap2 = pPcmBuf + pAfWrt->sampleCount - pPcmBufRd; // debug
                             pcmOvr = 1;
                         }                                                                
                     }
@@ -627,7 +627,7 @@ Int cbWriteAf(
                 {
                     // this write won't wrap
                     
-                    gPcmOvershootNoWrap = pPcmBuf + pAfWrt->sampleCount - pPcmBufRd;
+                    //gPcmOvershootNoWrap = pPcmBuf + pAfWrt->sampleCount - pPcmBufRd; // debug
                     pCb->errPcmOvrCnt++;
                     pcmOvr = 1;
                 }