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

Commit 0580018b authored by Steve Kondik's avatar Steve Kondik Committed by Ethan Chen
Browse files

hal: Compilation fixes

 * Properly include path to kernel headers for postproc effects
 * Don't try to build SSR or Listen if QC_PROP_ROOT isn't set

Change-Id: I8f2a874bbbec09cea8eae423a82e6cc59d03f422
parent 1a137596
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -29,9 +29,11 @@ LOCAL_MODULE:= libqcompostprocbundle

LOCAL_C_INCLUDES := \
	external/tinyalsa/include \
	kernel/include/sound \
	$(call include-path-for, audio-effects)

LOCAL_C_INCLUDES += $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr/include
LOCAL_ADDITIONAL_DEPENDENCIES := $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr

include $(BUILD_SHARED_LIBRARY)

endif
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
#include <cutils/list.h>
#include <cutils/log.h>
#include <tinyalsa/asoundlib.h>
#include <audio_effects.h>
#include <sound/audio_effects.h>
#include <audio_effects/effect_bassboost.h>

#include "effect_api.h"
+1 −1
Original line number Diff line number Diff line
@@ -21,7 +21,7 @@
#define OFFLOAD_EFFECT_BUNDLE_H

#include <tinyalsa/asoundlib.h>
#include <audio_effects.h>
#include <sound/audio_effects.h>
#include "effect_api.h"

/* Retry for delay for mixer open */
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@
#include <stdbool.h>
#include <cutils/log.h>
#include <tinyalsa/asoundlib.h>
#include <audio_effects.h>
#include <sound/audio_effects.h>

#include "effect_api.h"

+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@
#include <cutils/list.h>
#include <cutils/log.h>
#include <tinyalsa/asoundlib.h>
#include <audio_effects.h>
#include <sound/audio_effects.h>
#include <audio_effects/effect_equalizer.h>

#include "effect_api.h"
Loading