summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arm-wt-22k/NOTICE14
-rw-r--r--arm-wt-22k/host_src/eas_chorus.h2
-rw-r--r--arm-wt-22k/lib_src/eas_public.c4
3 files changed, 17 insertions, 3 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/host_src/eas_chorus.h b/arm-wt-22k/host_src/eas_chorus.h
index 998a828..d84a53b 100644
--- a/arm-wt-22k/host_src/eas_chorus.h
+++ b/arm-wt-22k/host_src/eas_chorus.h
@@ -50,4 +50,4 @@ typedef enum
} E_CHORUS_PRESETS;
-#endif \ No newline at end of file
+#endif
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 */