diff options
-rw-r--r-- | arm-wt-22k/NOTICE | 14 | ||||
-rw-r--r-- | arm-wt-22k/lib_src/eas_public.c | 4 |
2 files changed, 16 insertions, 2 deletions
diff --git a/arm-wt-22k/NOTICE b/arm-wt-22k/NOTICE new file mode 100644 index 0000000..1f00f30 --- /dev/null +++ b/arm-wt-22k/NOTICE @@ -0,0 +1,14 @@ +Copyright (c) 2004-2006 Sonic Network Inc. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + 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 */ |