Fix engine state reporting.
b/3290604
Change-Id: If1d15499575b1448c6c1c735718c2269b87fae3e
diff --git a/arm-wt-22k/lib_src/eas_public.c b/arm-wt-22k/lib_src/eas_public.c
index 9ee6cf4..8195b98 100644
--- a/arm-wt-22k/lib_src/eas_public.c
+++ b/arm-wt-22k/lib_src/eas_public.c
@@ -1651,8 +1651,8 @@
if (pStream->repeatCount && (*pState == EAS_STATE_STOPPED))
*pState = EAS_STATE_PLAY;
- /* if we're not ready or playing, we don't need to hide state from host */
- if (*pState > EAS_STATE_PLAY)
+ /* if we're not paused or pausing, we don't need to hide state from host */
+ if (*pState != EAS_STATE_PAUSED && *pState != EAS_STATE_PAUSING)
return EAS_SUCCESS;
/* if stream is about to be paused, report it as paused */