diff options
author | Marco Nelissen <marcone@google.com> | 2010-12-21 16:00:10 -0800 |
---|---|---|
committer | Marco Nelissen <marcone@google.com> | 2010-12-21 16:00:57 -0800 |
commit | 3e2bd1f02bee702639966852fc0456d84023865f (patch) | |
tree | a3b5c436ddb1136d78d56bb78373fcbd967c7a2e /arm-wt-22k | |
parent | e49546185f53f8d9ab6c495f4eef2f52e4dbbbd2 (diff) | |
download | external_sonivox-3e2bd1f02bee702639966852fc0456d84023865f.zip external_sonivox-3e2bd1f02bee702639966852fc0456d84023865f.tar.gz external_sonivox-3e2bd1f02bee702639966852fc0456d84023865f.tar.bz2 |
Fix engine state reporting.
b/3290604
Change-Id: If1d15499575b1448c6c1c735718c2269b87fae3e
Diffstat (limited to 'arm-wt-22k')
-rw-r--r-- | arm-wt-22k/lib_src/eas_public.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ EAS_PUBLIC EAS_RESULT EAS_State (EAS_DATA_HANDLE pEASData, EAS_HANDLE pStream, E 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 */ |