Fix metadata buffer size in ARM/DSP params
[processor-sdk/performance-audio-sr.git] / processor_audio_sdk_1_00_00_00 / pasdk / test_arm / framework / itopo / params.c
index d722c786f1fe90db2053b7d58442cd70de3383e1..b7e709f868972cd50a884a9c777a8f4d122932c7 100644 (file)
@@ -42,6 +42,7 @@ All rights reserved.
 //#include <ti/procsdk_audio/procsdk_audio_typ.h>
 #include <procsdk_audio_typ.h>
 
+#include "paftyp.h"
 #include <stdasp.h>
 #include <pafsio_ialg.h>
 
@@ -337,7 +338,7 @@ static const IALG_MemSpace params_memspace_PAi_Slave[] = {
 // .............................................................................
 const PAF_MetadataBufStatus PAF_ASDT_params_MetadataBufStatus[] =
 {
-    4 * 1024,               // bufSize
+    PAF_MAX_PRIVATE_MD_SZ,  // bufSize
     PAF_MAX_NUM_PRIVATE_MD, // NumBuf
     128,                    // alignment
     &gPafHeapIdExt //&SDRAM // &IRAM,        // pSpace