]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/blobdiff - processor_audio_sdk_1_00_00_00/pasdk/test_dsp/framework/audioStreamOutProc.h
Add shared state for ASIT/ASOT. Add Decoder CB output control.
[processor-sdk/performance-audio-sr.git] / processor_audio_sdk_1_00_00_00 / pasdk / test_dsp / framework / audioStreamOutProc.h
index 90220aebd4f06ce07c3ad93f0a33c3e6aad53355..c9df1352cb14ef85bd81e632ea83066b5d1f0de9 100644 (file)
@@ -45,6 +45,7 @@ All rights reserved.
 #include "audioStreamProc_params.h"
 #include "audioStreamProc_patchs.h"
 #include "audioStreamProc_config.h"
+#include "audioStreamProc_master.h"
 
 // Global debug counter */
 extern Uint32 gTaskAsopCnt; // debug counter for ASOP task
@@ -75,7 +76,7 @@ typedef struct PAF_ASOT_Fxns {
     //Int (*decodeFinalTest) (const struct PAF_AST_Params *, const struct PAF_AST_Patchs *, struct PAF_AST_Config *, Int, Int);    
     Int (*decodeComplete) (const struct PAF_ASOT_Params *, const struct PAF_ASOT_Patchs *, struct PAF_ASOT_Config *, ALG_Handle *, Int, Int);
     Int (*selectDevices) (const struct PAF_ASOT_Params *, const struct PAF_ASOT_Patchs *, struct PAF_ASOT_Config *);
-    Int (*sourceDecode) (const struct PAF_ASOT_Params *, const struct PAF_ASOT_Patchs *, struct PAF_ASOT_Config *, Int);    
+    //Int (*sourceDecode) (const struct PAF_AST_Params *, const struct PAF_AST_Patchs *, struct PAF_AST_Config *, Int);
     Int (*startOutput) (const struct PAF_ASOT_Params *, const struct PAF_ASOT_Patchs *, struct PAF_ASOT_Config *);
     Int (*stopOutput) (const struct PAF_ASOT_Params *, const struct PAF_ASOT_Patchs *, struct PAF_ASOT_Config *);
     Int (*setCheckRateX) (const struct PAF_ASOT_Params *, const struct PAF_ASOT_Patchs *, struct PAF_ASOT_Config *, Int);
@@ -165,8 +166,9 @@ typedef struct PAF_ASOT_Patchs {
 
 // Audio Stream Input Task (ASOT) configuration
 typedef struct PAF_ASOT_Config {
-    ACP_Handle     acp;
-    PAF_AST_Config *pAstCfg; // ASIT/ASOT/ASDT shared configuration
+    ACP_Handle acp;
+    PAF_ASPM_Config *pAspmCfg;  // ASIT/ASOT shared configuration
+    PAF_AST_Config *pAstCfg;    // ASIT/ASOT/ASDT shared configuration
 } PAF_ASOT_Config;