ssr: Fix building with OSS materials

Change-Id: I466816af5e1258f61401edf3eaf37ed7a862292e
This commit is contained in:
Ricardo Cerqueira 2016-06-20 00:41:47 +01:00 committed by Alexander Koskovich
parent c00673cddb
commit e294870bd1
No known key found for this signature in database
GPG Key ID: 7DEBC4828C2B4DC8
2 changed files with 16 additions and 0 deletions

View File

@ -166,6 +166,10 @@ LOCAL_CFLAGS += \
-Wno-unused-function \
-Wno-unused-variable
ifeq ($(QCPATH),)
LOCAL_CFLAGS += -D_OSS
endif
LOCAL_SHARED_LIBRARIES := \
libaudioutils \
libcutils \

View File

@ -36,7 +36,19 @@
#include "audio_extn.h"
#include "platform.h"
#include "platform_api.h"
#ifndef _OSS
#include "surround_rec_interface.h"
#else
typedef struct {
const char *name;
char *(*get_param_fn)(void *h);
} get_param_data_t;
typedef struct {
const char *name;
void (*set_param_fn)(void *h, const char *val);
} set_param_data_t;
#endif
#ifdef DYNAMIC_LOG_ENABLED
#include <log_xml_parser.h>