Continued work on OpenMAX AL engine APIs
Added xaCreateEngine as synonym for slCreateEngine,
but not yet reference counted to share same object with slCreateEngine.
Added the beginnings of a XA_IID_ENGINE engine interface
but still needs more work.
Added simple xa test app.
New extension: ANDROID_SDK_LEVEL_10 (not NDK per digit).
Split up sles.c:
- Move data source, sink, locator, format code to data.c
- Move global entry points to entry.c
- Collect all engine-related code into CEngine.c
- Collect all device-related code into devices.c
Change-Id: I9fdeed1e29f698869f409014a39401999ac84e5f
diff --git a/libopensles/OpenSLES_IID.c b/libopensles/OpenSLES_IID.c
index ddea182..e6fe155 100644
--- a/libopensles/OpenSLES_IID.c
+++ b/libopensles/OpenSLES_IID.c
@@ -31,6 +31,7 @@
#include "SLES/OpenSLES.h" /* SL Header */
+#include "OMXAL/OpenMAXAL.h"
#ifdef ANDROID
#include "SLES/OpenSLES_Android.h" /* Android-specific SL Header */
#endif
@@ -163,6 +164,11 @@
// SL_IID_ANDROIDSTREAMSOURCE
{ 0x7fc1a460, 0xeec1, 0x11df, 0xa306, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } },
+// OpenMAX AL 1.0.1
+
+ // XA_IID_ENGINE
+ { 0x45c58f40, 0xdf04, 0x11db, 0x9e76, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } },
+
};
#ifdef __cplusplus
@@ -230,6 +236,9 @@
// Android API level 10 extended interfaces
const SLInterfaceID SL_IID_ANDROIDSTREAMSOURCE = &SL_IID_array[MPH_ANDROIDSTREAMSOURCE];
+// OpenMAX AL 1.0.1
+const XAInterfaceID XA_IID_ENGINE = (XAInterfaceID) &SL_IID_array[MPH_XAENGINE];
+
#ifdef __cplusplus
}
#endif