From 1186c87449becc7998c927aa8168f8de00dc712d Mon Sep 17 00:00:00 2001 From: Ziyan Date: Thu, 15 Sep 2016 10:58:35 +0200 Subject: audio: build with -Wall -Werror Change-Id: I4867269564825b3b1b67ad2e0b2b0bcdd7055f33 --- audio/Android.mk | 2 ++ audio/ril_interface.h | 1 + 2 files changed, 3 insertions(+) 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 -- cgit v1.1