Use the OpenSL ES definition of SL_IID_EQUALIZER for the EQ

effect UUID instead of defining it locally.

Change-Id: Id6018fef20d286899cf7503fec3521dcd56db7e0
This commit is contained in:
Jean-Michel Trivi
2010-07-09 10:44:29 -07:00
parent 36ff93aa1f
commit 97eb728aef
2 changed files with 5 additions and 5 deletions

View File

@@ -19,14 +19,13 @@
#include <media/EffectApi.h>
// for the definition of SL_IID_EQUALIZER
#include "OpenSLES.h"
#if __cplusplus
extern "C" {
#endif
//TODO replace by openSL ES include when available
static const effect_uuid_t SL_IID_EQUALIZER_ = { 0x0bed4300, 0xddd6, 0x11db, 0x8f34, { 0x00, 0x02, 0xa5, 0xd5, 0xc5, 0x1b } };
const effect_uuid_t * const SL_IID_EQUALIZER = &SL_IID_EQUALIZER_;
/* enumerated parameters for Equalizer effect */
typedef enum
{

View File

@@ -87,7 +87,8 @@ LOCAL_SHARED_LIBRARIES += libdl
endif
LOCAL_C_INCLUDES := \
$(call include-path-for, graphics corecg)
$(call include-path-for, graphics corecg) \
system/media/opensles/include
LOCAL_PRELINK_MODULE := false