]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - pasdk/test_dsp/framework/audioStreamOutProc.c
Started refactoring output task and integrating new I/O into output
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / framework / audioStreamOutProc.c
index d5538a6465cea7841121891978c76fd0f257396b..44040493f1fbc1d217e3cdf0a0448af0be6539c4 100644 (file)
@@ -197,13 +197,16 @@ static Int checkOutSio(
 );
 
 // Initialize Output Processing state function
-static Int PAF_ASOT_initOutProc(
+//static Int PAF_ASOT_initOutProc(
+// used by new OutProc.c, will be changed back to static once refactoring is done
+Int PAF_ASOT_initOutProc(
     const PAF_ASOT_Params *pP, 
     PAF_AST_Stream *xStr
 );
 
 // Initialize Output Processing state function
-static Int PAF_ASOT_initSyncDecReset(
+// used by new OutProc.c, will be changed back to static once refactoring is done
+Int PAF_ASOT_initSyncDecReset(
     const PAF_ASOT_Params *pP, 
     const PAF_ASOT_Patchs *pQ, 
     PAF_ASOT_Config *pAsotCfg,
@@ -219,7 +222,7 @@ static Int PAF_ASOT_outputReset(
 
 //   Purpose:   Init-Sync Dec Info1 state function.
 //              Performes Dec Info1 Init-Sync.
-static Int PAF_ASOT_initSyncDecInfo1(
+Int PAF_ASOT_initSyncDecInfo1(
     const PAF_ASOT_Params *pP, 
     const PAF_ASOT_Patchs *pQ, 
     PAF_ASOT_Config *pAsotCfg,
@@ -235,7 +238,7 @@ static Int PAF_ASOT_outputInfo1(
 
 //   Purpose:   Init-Sync Dec Decode1 state function.
 //              Performes Dec Decode1 Init-Sync.
-static Int PAF_ASOT_initSyncDecDecode1(
+Int PAF_ASOT_initSyncDecDecode1(
     const PAF_ASOT_Params *pP, 
     const PAF_ASOT_Patchs *pQ, 
     PAF_ASOT_Config *pAsotCfg
@@ -243,7 +246,7 @@ static Int PAF_ASOT_initSyncDecDecode1(
 
 //   Purpose:   Init-Sync Re-Sync state function.
 //              Peformed Init-Sync using stored Dec Reset/Info1 AFs.
-static Int PAF_ASOT_initSyncResync(
+Int PAF_ASOT_initSyncResync(
     const PAF_ASOT_Params *pP, 
     const PAF_ASOT_Patchs *pQ, 
     PAF_ASOT_Config *pAsotCfg,
@@ -430,7 +433,7 @@ Void taskAsopFxnInit(
 Void taskAsopFxn(
 #else
 #ifndef IO_LOOPBACK_TEST
-Void taskAsopFxn(   // still use this for new I/O before it is refactored.
+Void taskAsopFxn_NOt_Used(
 #else
 Void taskAsopFxn_Not_Used(
 #endif
@@ -3506,7 +3509,8 @@ static Void resetAfMetadata(
 }
 
 // Initialize Output Processing state function
-static Int PAF_ASOT_initOutProc(
+//static Int PAF_ASOT_initOutProc(
+Int PAF_ASOT_initOutProc(
     const PAF_ASOT_Params *pP, 
     PAF_AST_Stream *xStr
 )
@@ -3532,7 +3536,9 @@ static Int initSyncUpdateAf(
 
 //   Purpose:   Init-Sync Dec Reset state function.
 //              Performes Dec Reset Init-Sync.
-static Int PAF_ASOT_initSyncDecReset(
+//static Int PAF_ASOT_initSyncDecReset(
+// used by new OutProc.c, will be changed back to static once refactoring is done
+Int PAF_ASOT_initSyncDecReset(
     const PAF_ASOT_Params *pP, 
     const PAF_ASOT_Patchs *pQ, 
     PAF_ASOT_Config *pAsotCfg,
@@ -3645,7 +3651,7 @@ Int16 gOutFrameLen=PAF_ASOT_FRAMELENGTH; // output frame length (PCM samples)
 
 //   Purpose:   Init-Sync Dec Info1 state function.
 //              Performes Dec Info1 Init-Sync.
-static Int PAF_ASOT_initSyncDecInfo1(
+Int PAF_ASOT_initSyncDecInfo1(
     const PAF_ASOT_Params *pP, 
     const PAF_ASOT_Patchs *pQ, 
     PAF_ASOT_Config *pAsotCfg,
@@ -3772,7 +3778,8 @@ static Int PAF_ASOT_outputInfo1(
 
 //   Purpose:   Init-Sync Dec Decode1 state function.
 //              Performes Dec Decode1 Init-Sync.
-static Int PAF_ASOT_initSyncDecDecode1(
+//static Int PAF_ASOT_initSyncDecDecode1(
+Int PAF_ASOT_initSyncDecDecode1(
     const PAF_ASOT_Params *pP, 
     const PAF_ASOT_Patchs *pQ, 
     PAF_ASOT_Config *pAsotCfg
@@ -3810,7 +3817,7 @@ static Int PAF_ASOT_initSyncDecDecode1(
 
 //   Purpose:   Init-Sync Re-Sync state function.
 //              Peformed Init-Sync using stored Dec Reset/Info1 AFs.
-static Int PAF_ASOT_initSyncResync(
+Int PAF_ASOT_initSyncResync(
     const PAF_ASOT_Params *pP, 
     const PAF_ASOT_Patchs *pQ, 
     PAF_ASOT_Config *pAsotCfg,