PASDK-577:Update ASOT handling of OutNone
[processor-sdk/performance-audio-sr.git] / pasdk / test_dsp / framework / audioStreamOutProc.c
index 740440cc43d6875206f01087fc5b89fab509db87..d9503c0af43e5c959e1ed31a2bcae4db04db61ff 100644 (file)
@@ -470,6 +470,12 @@ Void taskAsopFxn(
                         pAsotCfg->state = ASOT_STATE_SEL_OUT_DEV;
                         break;
                     }
+                    else if (outDevSel == FALSE)
+                    {
+                        // No device selected
+                        pAsotCfg->state = ASOT_STATE_SEL_OUT_DEV;
+                        break;
+                    }
                     
                     // Reset Output processing
                     status = PAF_ASOT_resetDecOutProc(pP, pQ, pAsotCfg, &decResetAf, outDevSel, asopFrameCount);