Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 2245647a authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Michael Bestas
Browse files

ssr: Fix building with OSS materials

Change-Id: I466816af5e1258f61401edf3eaf37ed7a862292e
parent 7ece84be
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -166,6 +166,10 @@ LOCAL_CFLAGS += \
    -Wno-unused-function \
    -Wno-unused-variable

ifeq ($(QCPATH),)
  LOCAL_CFLAGS += -D_OSS
endif

LOCAL_SHARED_LIBRARIES := \
    libaudioutils \
    libcutils \
+12 −0
Original line number Diff line number Diff line
@@ -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>