PRSDK-4429: Fix for mute output during interchange of THD and DDP stream
authorVeeranna Hanchinal <x0131333@ti.com>
Wed, 29 Aug 2018 13:16:10 +0000 (18:46 +0530)
committerVeeranna Hanchinal <x0131333@ti.com>
Wed, 29 Aug 2018 13:16:10 +0000 (18:46 +0530)
pasrc/test_dsp/framework/audioStreamInpProcNewIO.c

index 05be7b4f542cecdaf5e8680efbba3a10cebb1ed3..3f295aa1e564144481f17e2d01c41a67a83a872e 100644 (file)
@@ -1192,9 +1192,9 @@ Int asitSelectDevices(
         {
             d10Initialized = 0; // indicate no Input selected
             
-            // Reset channel
-            status = mcaspControlChan(pInp->hMcaspChan, MCASP_CHAN_RESET, NULL);   // Rx reset channel
-            //status = mcaspControlChan(pInp->hMcaspChan, MCASP_DEVICE_RESET, NULL); // Reset Tx/Rx channel
+                       // Reset channel
+            //status = mcaspControlChan(pInp->hMcaspChan, MCASP_CHAN_RESET, NULL);   // Rx reset channel
+            status = mcaspControlChan(pInp->hMcaspChan, MCASP_DEVICE_RESET, NULL); // Reset Tx/Rx channel
             if (status != MCASP_COMPLETED)
             {
                 Log_info0("asitSelectDevices(): McASP channel reset failed!\n");