summaryrefslogtreecommitdiffstats
path: root/arm-wt-22k/host_src
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:44 -0700
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-18 17:39:44 -0700
commit76d1ca9c283712cce85667de949403eecc4e92dc (patch)
tree7ced45d0555d0b4d6b64e1dc89197916e6ede7a0 /arm-wt-22k/host_src
parent07c322c52f1746da095853e70d44686d32df5bdb (diff)
downloadexternal_sonivox-76d1ca9c283712cce85667de949403eecc4e92dc.zip
external_sonivox-76d1ca9c283712cce85667de949403eecc4e92dc.tar.gz
external_sonivox-76d1ca9c283712cce85667de949403eecc4e92dc.tar.bz2
auto import from //branches/cupcake_rel/...@140373
Diffstat (limited to 'arm-wt-22k/host_src')
-rw-r--r--arm-wt-22k/host_src/eas_hostmm.c7
-rw-r--r--arm-wt-22k/host_src/jet.h2
2 files changed, 6 insertions, 3 deletions
diff --git a/arm-wt-22k/host_src/eas_hostmm.c b/arm-wt-22k/host_src/eas_hostmm.c
index 132239b..d8eed8e 100644
--- a/arm-wt-22k/host_src/eas_hostmm.c
+++ b/arm-wt-22k/host_src/eas_hostmm.c
@@ -70,8 +70,11 @@
#endif
#ifndef EAS_MAX_FILE_HANDLES
-#define EAS_MAX_FILE_HANDLES 32
-#endif
+// 100 max file handles == 3 * (nb tracks(32) + 1 for the segment) + 1 for jet file
+// 3 == 1(playing segment) + 1(prepared segment)
+// + 1(after end of playing segment, before files closed)
+#define EAS_MAX_FILE_HANDLES 100
+#endif
/*
* this structure and the related function are here
diff --git a/arm-wt-22k/host_src/jet.h b/arm-wt-22k/host_src/jet.h
index b5bce00..35bdb6d 100644
--- a/arm-wt-22k/host_src/jet.h
+++ b/arm-wt-22k/host_src/jet.h
@@ -124,7 +124,7 @@ EAS_PUBLIC EAS_RESULT JET_Status (EAS_DATA_HANDLE easHandle, S_JET_STATUS *pStat
* Checks for application events
*----------------------------------------------------------------------------
*/
-EAS_BOOL JET_GetEvent (EAS_DATA_HANDLE easHandle, EAS_U32 *pEventRaw, S_JET_EVENT *pEvent);
+EAS_PUBLIC EAS_BOOL JET_GetEvent (EAS_DATA_HANDLE easHandle, EAS_U32 *pEventRaw, S_JET_EVENT *pEvent);
/*----------------------------------------------------------------------------
* JET_ParseEvent()