ssr: Fix building with OSS materials
Change-Id: I466816af5e1258f61401edf3eaf37ed7a862292e
This commit is contained in:
parent
c00673cddb
commit
e294870bd1
|
@ -166,6 +166,10 @@ LOCAL_CFLAGS += \
|
|||
-Wno-unused-function \
|
||||
-Wno-unused-variable
|
||||
|
||||
ifeq ($(QCPATH),)
|
||||
LOCAL_CFLAGS += -D_OSS
|
||||
endif
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libaudioutils \
|
||||
libcutils \
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue