PASDK-443: Updated ARM max framelength for 192KHz THD stream.
authorChitresh Gupta <chitresh.g@pathpartnertech.com>
Sun, 12 Nov 2017 11:58:28 +0000 (17:28 +0530)
committerChitresh Gupta <chitresh.g@pathpartnertech.com>
Sun, 12 Nov 2017 11:58:28 +0000 (17:28 +0530)
This is for glitches fix.

pasdk/test_arm/framework/itopo/params.c

index 6de4a2a51875992956406bb3ff394500d80e05b3..e893dad419c5c637dbc00576503f54cf508157dd 100644 (file)
@@ -444,7 +444,10 @@ const PAF_ASDT_Params asdp_params_PAi =
     PAF_ASDT_params_decodeStatus,                           // z_pDecodeStatus
     &PAF_ASP_params_decAlgKey,                              // pDecAlgKey
     PAF_AST_streamsFromDecodes_std,                         // streamsFromDecodes
-    8192,                                                   // maxFramelength set to match maximum value possible for 48K stream
+    14592,                                                  // maxFramelength set to match maximum value possible for a stream,
+                                                            // max for 192k THD:
+                                                            // 14592 = ((nearest 256 mutiple of (90AUs/frame * 160sample/AU))
+                                                            // + 256 samples remaining in wrapper from previous deccode)
     PAF_ASDT_params_MetadataBufStatus,                      //metadata buffer status
     NULL //PAF_AST_params_AudioFrameBufStatus                      //Audio frame buffer status
 };