aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-09-15 10:58:35 +0200
committerAndreas Blaesius <skate4life@gmx.de>2016-09-24 13:51:50 +0200
commit1186c87449becc7998c927aa8168f8de00dc712d (patch)
tree5248ea83a191fba3b30a2c54cd92d06107397854
parentdad597a2277d6c099ab404c2885661a8f14c72cc (diff)
downloaddevice_samsung_espressowifi-1186c87449becc7998c927aa8168f8de00dc712d.zip
device_samsung_espressowifi-1186c87449becc7998c927aa8168f8de00dc712d.tar.gz
device_samsung_espressowifi-1186c87449becc7998c927aa8168f8de00dc712d.tar.bz2
audio: build with -Wall -Werror
Change-Id: I4867269564825b3b1b67ad2e0b2b0bcdd7055f33
-rw-r--r--audio/Android.mk2
-rw-r--r--audio/ril_interface.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/audio/Android.mk b/audio/Android.mk
index 4655db0..8519948 100644
--- a/audio/Android.mk
+++ b/audio/Android.mk
@@ -28,6 +28,8 @@ LOCAL_C_INCLUDES += \
$(call include-path-for, audio-utils) \
$(call include-path-for, audio-effects)
+LOCAL_CFLAGS := -Wall -Werror
+
LOCAL_SHARED_LIBRARIES := liblog libcutils libtinyalsa libaudioutils libdl libexpat
include $(BUILD_SHARED_LIBRARY)
diff --git a/audio/ril_interface.h b/audio/ril_interface.h
index 7950eb9..7d4b87e 100644
--- a/audio/ril_interface.h
+++ b/audio/ril_interface.h
@@ -84,5 +84,6 @@ int ril_set_call_audio_path(struct ril_handle *ril, enum ril_audio_path path);
int ril_set_call_clock_sync(struct ril_handle *ril, enum ril_clock_state state);
void ril_register_set_wb_amr_callback(void *function, void *data);
int ril_set_two_mic_control(struct ril_handle *ril, enum ril_two_mic_device device, enum ril_two_mic_state state);
+int ril_set_mic_mute(struct ril_handle *ril, enum ril_mic_mute state);
#endif