Remove bug introduced in commitId=0a623a0, multiple copies of global config struct...
authorFrank Livingston <frank-livingston@ti.com>
Tue, 16 Aug 2016 20:39:13 +0000 (15:39 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Tue, 16 Aug 2016 20:39:13 +0000 (15:39 -0500)
procsdk_audio_x_xx_xx_xx/test_dsp/framework/audioStreamInpProc.c
procsdk_audio_x_xx_xx_xx/test_dsp/framework/systemInit.c

index f8223edb02887d3bf7760108dd24c04d5cf818ce..b11e0971eb12938d17c8bb315590391cf9a4b24f 100644 (file)
@@ -280,8 +280,8 @@ Void taskAsipFxn(
 )
 {
     // Task data
-    PAF_AST_Config PAF_AST_config;  /* Local configuration */
-    PAF_AST_Config *pC;             /* Local configuration pointer */
+    //PAF_AST_Config PAF_AST_config;  /* Local configuration */
+    //PAF_AST_Config *pC;             /* Local configuration pointer */
     // Local data
     Int as;                         /* Audio Stream Number (1, 2, etc.) */
     Int z;                          /* input/encode/stream/decode/output counter */
@@ -397,8 +397,8 @@ Void taskAsipFxn(
     
     // (***) FL: revisit
     // write back configuration
-    Cache_wb(&gPAF_AST_config, sizeof(gPAF_AST_config), Cache_Type_ALLD, 0);
-    Cache_wb(&pC, sizeof(pC), Cache_Type_ALLD, 0);
+    Cache_wb(&gPAF_AST_config, sizeof(PAF_AST_Config), Cache_Type_ALLD, 0);
+    Cache_wb(&pC, sizeof(PAF_AST_Config *), Cache_Type_ALLD, 0);
     Cache_wait();
 
     // (***) FL: revisit
index d0b5cc2d540bc58926bf913959c8e0a3a8b6da6e..e63e2da656bdc28690c96594fba94dbc754aa86c 100644 (file)
@@ -34,6 +34,7 @@ Int gSysInit=0;
 #define TASK_AFP_PRI        ( 1 )
 #define TASK_AIP_PRI        ( 2 )
 #define TASK_ASIP_PRI       ( 3 )
+#define TASK_ASOP_PRI       ( 3 )
 
 #define __TASK_NAME__  "TaskSysInit"
 
@@ -122,7 +123,7 @@ Void taskSysInitFxn(Void)
     Task_setPri(TaskAfp, TASK_AFP_PRI);
     Task_setPri(TaskAip, TASK_AIP_PRI);
     Task_setPri(TaskAsip, TASK_ASIP_PRI);
-    Task_setPri(TaskAsop, TASK_ASIP_PRI);
+    Task_setPri(TaskAsop, TASK_ASOP_PRI);
 
     Log_info0("Exit taskSysInitFxn()");
 }