]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/commitdiff
PASDK-277: Capture MAT-THD core samples output.
authorChitresh Gupta <chitresh.g@pathpartnertech.com>
Mon, 29 May 2017 14:56:50 +0000 (20:26 +0530)
committerChitresh Gupta <chitresh.g@pathpartnertech.com>
Mon, 29 May 2017 14:56:50 +0000 (20:26 +0530)
dolby_ip/mat-thd
pasdk/test_arm/framework/audioStreamDecodeProc.c

index b4e50b68a7671d2d6756e0f7619c248ca2b17f33..0fc505df9aae2ad779db805341fec30d77abc08b 160000 (submodule)
@@ -1 +1 @@
-Subproject commit b4e50b68a7671d2d6756e0f7619c248ca2b17f33
+Subproject commit 0fc505df9aae2ad779db805341fec30d77abc08b
index cfe72fdedf1921645e40666ba814b6ce99317ed1..6eb6d2f861082eab761bfed0243422fd62e0cbcf 100644 (file)
@@ -125,9 +125,9 @@ UInt32 gSlaveDecDeactivateCnt   =0;
 //#define CAPTURE_DECODER_OUTSAMPLES_PP
 #ifdef CAPTURE_DECODER_OUTSAMPLES_PP
 
 //#define CAPTURE_DECODER_OUTSAMPLES_PP
 #ifdef CAPTURE_DECODER_OUTSAMPLES_PP
 
-#define CAP_FRAME_SAMPLES            2000
-Uint32 sampCountCapFrame = 0;
-int tempCap_decSampleOut[CAP_FRAME_SAMPLES] = {0.0};
+#define CAP_FRAME_MAX            2000
+Uint32 tempCap_frameCnt = 0;
+int tempCap_decSampleOut[CAP_FRAME_MAX] = {0};
 #endif
 
 /*
 #endif
 
 /*
@@ -729,10 +729,10 @@ Void taskAsdpFxn(
 
                         #ifdef CAPTURE_DECODER_OUTSAMPLES_PP
 
 
                         #ifdef CAPTURE_DECODER_OUTSAMPLES_PP
 
-                        if (sampCountCapFrame < CAP_FRAME_SAMPLES)
+                        if (tempCap_frameCnt < CAP_FRAME_MAX)
                         {
                         {
-                            tempCap_decSampleOut[sampCountCapFrame] = pAfWrt->sampleCount;
-                            sampCountCapFrame++;
+                            tempCap_decSampleOut[tempCap_frameCnt] = pAfWrt->sampleCount;
+                            tempCap_frameCnt++;
                         }
                         #endif
 
                         }
                         #endif