]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - processor-sdk/performance-audio-sr.git/commitdiff
PASDK-218:Replace initSyncUpdateAf() with outIsCpyAf().
authorFrank Livingston <frank-livingston@ti.com>
Tue, 4 Jul 2017 00:08:52 +0000 (19:08 -0500)
committerFrank Livingston <frank-livingston@ti.com>
Tue, 4 Jul 2017 00:08:52 +0000 (19:08 -0500)
NOTE: Can combine outIsReadDecStageFlagAndAf() and outIsCpyAf() functions
into single function in API.

pasdk/test_dsp/framework/audioStreamOutProc.c

index 7e97225430a701691b40f77e2f4cef0fe679a34b..46b3bdb1cccd42b73040348f383ee33e4760d84e 100644 (file)
@@ -3177,11 +3177,12 @@ static Int PAF_ASOT_initSyncDecReset(
         
         // Update Stream Audio Frame.
         // Copy Dec Reset AF to Stream AF.
-        errno = initSyncUpdateAf(pStrAf, pDecResetAf);
-        if (errno < 0)
-        {
-            return errno;
-        }
+        //errno = initSyncUpdateAf(pStrAf, pDecResetAf);
+        //if (errno < 0)
+        //{
+        //    return errno;
+        //}
+        outIsCpyAf(pDecResetAf, pStrAf);
         
         // Enc activate
         // Enc reset
@@ -3286,11 +3287,12 @@ static Int PAF_ASOT_initSyncDecInfo1(
         
         // Update Stream Audio Frame.
         // Copy Dec Reset AF to Stream AF.
-        errno = initSyncUpdateAf(pStrAf, pDecInfo1Af);
-        if (errno < 0)
-        {
-            return errno;
-        }
+        //errno = initSyncUpdateAf(pStrAf, pDecInfo1Af);
+        //if (errno < 0)
+        //{
+        //    return errno;
+        //}
+        outIsCpyAf(pDecInfo1Af, pStrAf);
         
         // decodeInfo1():
         //      - ASP chain reset,