PASDK-516:Fix EDMA event clear in Processing Decoder Output state
authorFrank Livingston <frank-livingston@ti.com>
Wed, 14 Feb 2018 23:01:11 +0000 (17:01 -0600)
committerFrank Livingston <frank-livingston@ti.com>
Wed, 14 Feb 2018 23:01:11 +0000 (17:01 -0600)
pasdk/test_dsp/framework/audioStreamOutProc.c

index 51c045ed2d2af3dd56266d918256ec1c42eaf9c2..b3b4319996b455e72be6ee5b876f23b07f3a2d73 100644 (file)
@@ -53,7 +53,6 @@ All rights reserved.
 
 // debug
 //#include "evmc66x_gpio_dbg.h"
-//#include "dbgCapAf.h"
 
 //#include "ioConfig.h"
 
@@ -622,8 +621,8 @@ Void taskAsopFxn(
                 if (events & Evt_Id_AsotTxMcaspEdma)
                 {
                     gProcDecOutState_EvtTxMcaspEdma_cnt++;
-                    events &= Evt_Id_AsotTxMcaspEdma; // clear event
-                    
+                    events &= ~Evt_Id_AsotTxMcaspEdma; // clear event
+
                     // Process Output
                     status = PAF_ASOT_procDecOut(pP, pQ, pAsotCfg, &procOutFirstTime, asopFrameCount);
                     if (status < 0)