]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - pasdk/test_dsp/framework/alphaFuncProc.c
PASDK-516:First version of ASOT refactoring
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / framework / alphaFuncProc.c
index c9544284a961c5a7746d765c1692e0143d2bd264..90bf11cb808b8831ae5a5648c0c312ed2c50d5b7 100644 (file)
@@ -54,7 +54,8 @@ All rights reserved.
 #include "paf_alg_print.h"
 #endif /* MEMSTAT_REPORT */
 
-//#include "dbgIdle.h" // FL: debug -- initiate IDLE memstat
+// debug
+//#include "dbgIdle.h" // initiate IDLE memstat
 
 #define ENABLE_AE_TRACE
 #ifdef ENABLE_AE_TRACE
@@ -273,21 +274,14 @@ Void taskAfpFxn(AFP_Handle handle)
     handle->acp = ACP_create(&ACP_MDS_IACP,handle->acpParams);
     if (handle->acp == NULL)
     {
-        //handle->fxns->log(handle,handle->logObj,
-        //    "AFP6: ACP instance creation failed");
         Log_info0("TaskAfp: ACP instance creation failed");
     }
     else
     {
-        //extern struct {
-        //   int size;
-        //} pafIdentification;
-        
         // Get pointer to ACP Status structure
         ((ALG_Handle)handle->acp)->fxns->algControl((IALG_Handle)(handle->acp),
             ACP_GETSTATUSADDRESS1, 
             (IALG_Status *)&pStatus);
-        // FL: (*** ?) Why STD BETA UART? Why not STD_BETA_ACP?
         // Attach ACP Status structure to Beta Unit Id==STD_BETA_UART
         handle->acp->fxns->attach(handle->acp, 
             ACP_SERIES_STD, 
@@ -310,12 +304,6 @@ Void taskAfpFxn(AFP_Handle handle)
             STD_BETA_SIGMATABLE, 
             (IALG_Status *)((ACP_MDS_Obj *)handle->acp)->config.sigmaTable[ACP_SERIES_STD]);
             
-        // FL: (*** ?) STD_BETA_IDENTITY already attached in main()->systemStreamMain(), so remove this
-        // Attach PAF Identification structure to Beta Unit Id==STD_BETA_IDENTITY
-        //handle->acp->fxns->attach(handle->acp, ACP_SERIES_STD, STD_BETA_IDENTITY, 
-        //    (IALG_Status *)&pafIdentification);
-        
-        //handle->fxns->log(handle,handle->logObj,"AFP6: ACP initialized");
         Log_info0("TaskAfp: ACP initialized");
         
         // Initialize DCS
@@ -325,8 +313,6 @@ Void taskAfpFxn(AFP_Handle handle)
             handle->acp);
         if (handle == NULL)
         {
-            //handle->fxns->log(handle,handle->logObj,
-            //    "AFP6: DCS6 creation failed");
             Log_info0("TaskAfp: DCS7 creation failed");
         }
         else
@@ -345,13 +331,10 @@ Void taskAfpFxn(AFP_Handle handle)
                 4);
             if ((handle->rxBuf == NULL) || (handle->txBuf == NULL))
             {
-                //handle->fxns->log(handle,handle->logObj,
-                //    "AFP6: Buffer allocation failed");
                 Log_info0("TaskAfp: Buffer allocation failed");
             }
             else
             {
-                //handle->fxns->log(handle,handle->logObj,"AFP6: AFP6 initialized");
                 Log_info0("TaskAfp: Initialized");
 
 #ifdef MEMSTAT_REPORT
@@ -360,7 +343,7 @@ Void taskAfpFxn(AFP_Handle handle)
                     PAF_HEAP_INT, PAF_HEAP_INT1, PAF_HEAP_EXT, 
                         PAF_HEAP_INT1_SHM, PAF_HEAP_EXT_SHM, PAF_HEAP_EXT_NONCACHED_SHM);
 #endif /* MEMSTAT_REPORT */
-                //gRunIdleMemStatRpt=1; // FL: debug
+                //gRunIdleMemStatRpt=1; // debug, allow Idle mem stat to run
                
                 // Process alpha commands
                 handle->fxns->process(handle);