PASDK-218: Introduced PAF_ASOT_FRAMELENGTH & PAF_ASOT_MAX_FRAMELENGTH, temporarily...
authorGovind Jeyaram <govind.j@ti.com>
Tue, 25 Jul 2017 02:16:38 +0000 (19:16 -0700)
committerGovind Jeyaram <govind.j@ti.com>
Tue, 25 Jul 2017 02:16:38 +0000 (19:16 -0700)
pasdk/test_dsp/framework/itopo/params.c

index 0be70d4b032ad7ed3a1fc9a6fd70c6bec5cd35a1..b6b8b72efa103637c8568d1b1dccc83fece8b024 100644 (file)
@@ -57,6 +57,12 @@ All rights reserved.
 
 #include "dbgBenchmark.h" // PCM high-sampling rate + SRC + CAR benchmarking
 
+/* !!!!!!!!! Revisit !!!!!!!!!!!!!!
+ * Purpose : Temporary ASOT FL sizes.
+ *                      Deprecate PAF_SYS_FRAMELENGTH in phases.*/
+#define PAF_ASOT_FRAMELENGTH           256
+#define PAF_ASOT_MAX_FRAMELENGTH       1024
+
 //
 // Framework Declarations
 //
@@ -682,9 +688,9 @@ const PAF_ASP_LinkInit *const inpLinkInit[] =
 const IALG_MemRec outMemTabPrimary[] =
 {
     // SDRAM buffer
-    // 4 buffers * 256 samples * 32 ch * 4 bytes
+    // 4 buffers * PAF_ASOT_MAX_FRAMELENGTH samples * 16 ch (assumed MAX) * 4 bytes
         {
-            4 * 256 * 32 * 4,                                      // size: note:
+            4 * PAF_ASOT_MAX_FRAMELENGTH * 16 * 4,                                      // size: note:
             //6 * 256 * 32 * 4,                                      // size: note:
             //16 * 256 * 32 * 4,                                      // size: note:
             128,                                                   // alignment
@@ -941,7 +947,7 @@ const PAF_ASOT_Params asop_params_PAi =
     NULL,                                                   // z_rx_bufsiz
     NULL,                                                   // z_tx_bufsiz
     PAF_AST_params_numchan,                                 // z_numchan
-    1024, //PAF_SYS_FRAMELENGTH,                                    // framelength
+       PAF_ASOT_FRAMELENGTH,                                   // framelength
     &PAF_AST_params_audioFrameFunctions,                    // pAudioFrameFunctions
     &PAF_ASP_chainFxns,                                     // pChainFxns
     &PAF_AST_params_inpBufStatus,                           // pInpBufStatus