[processor-sdk/performance-audio-sr.git] / processor_audio_sdk_1_00_00_00 / pasdk / test_dsp / framework / itopo / params.c
diff --git a/processor_audio_sdk_1_00_00_00/pasdk/test_dsp/framework/itopo/params.c b/processor_audio_sdk_1_00_00_00/pasdk/test_dsp/framework/itopo/params.c
index 5ee78d99c0531118cad2f6d1ae1bde4628645a7f..0173dfb7d72d6b478367b4a3eeed632e26128fe7 100644 (file)
//#include <ti/procsdk_audio/procsdk_audio_typ.h>
#include <procsdk_audio_typ.h>
+#include "paftyp.h"
+#include "paf_ialg.h"
#include <stdasp.h>
#include <pafsio_ialg.h>
#include "asp1.h"
#include "audioStreamProc_params.h"
+#include "audioStreamInpProc.h"
+#include "audioStreamOutProc.h"
//
// Framework Declarations
// External declarations to patched IROM provide standard functionality.
//
-extern const PAF_AST_Fxns PAF_ASIT_params_fxns;
+extern const PAF_ASIT_Fxns PAF_ASIT_params_fxns;
//
// Audio Framework Status Initialization Declarations
// DIB memory requirements
// primary input
+// IALG_SARAM_SHM: MSMC shared memory heap
+// IALG_EXTERNAL_SHM: DDR shared memory heap
const IALG_MemRec inpMemTabPrimary[] =
{
// SDRAM circular buffer
// 2 buffers * 256 samples/buffer * 8 words/sample * 3 bytes/word
{
- 3 * 60 * 1024, // size
+ (3 * 60 * 1024) + 2, // size 184320 + 1 16-bit word for EDMA padding
//180 * 1024, // size
//6 * 60 * 1024, // size
128, // alignment
- IALG_SARAM2, //IALG_SARAM1, //IALG_EXTERNAL, // space
+ IALG_SARAM_SHM, //IALG_EXTERNAL_SHM, //IALG_SARAM2, //IALG_SARAM1, //IALG_EXTERNAL, // space
IALG_PERSIST, // attrs
NULL, // base
},
// .............................................................................
const PAF_MetadataBufStatus PAF_AST_params_MetadataBufStatus[] =
{
- 4 * 1024, // bufSize
+ PAF_MAX_PRIVATE_MD_SZ, // bufSize
PAF_MAX_NUM_PRIVATE_MD, // NumBuf
128, // alignment
&gPafHeapIdExt //&SDRAM // &IRAM, // pSpace
//IALG_EXTERNAL // 31
};
+//(***) FL: re-visit, clean this up (remove unused members)
// .............................................................................
//
// Audio Stream Parameter Definitions
// Global definition in RAM provides standard & non-standard functionality.
//
-const PAF_AST_Params asip_params_PAi =
+const PAF_ASIT_Params asip_params_PAi =
{
&PAF_ASIT_params_fxns, // fxns
{ // zone
PAF_AST_params_AudioFrameBufStatus //Audio frame buffer status
};
-extern const PAF_AST_Fxns PAF_ASOT_params_fxns;
+extern const PAF_ASOT_Fxns PAF_ASOT_params_fxns;
-// (***) FL: initially a copy of asip
-const PAF_AST_Params asop_params_PAi =
+//(***) FL: initially a copy of asip
+//(***) FL: re-visit, clean this up (remove unused members)
+const PAF_ASOT_Params asop_params_PAi =
{
&PAF_ASOT_params_fxns, // fxns
{ // zone