summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/audio_ril_interface.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/audio_ril_interface.h b/include/audio_ril_interface.h
index eab77c1..a47bdbf 100644
--- a/include/audio_ril_interface.h
+++ b/include/audio_ril_interface.h
@@ -20,9 +20,14 @@
#define AUDIO_RIL_INTERFACE_LIB "libaudio-ril-interface.so"
+enum ril_mic_mute {
+ MIC_UNMUTE,
+ MIC_MUTE
+};
+
struct audio_ril_interface {
void *pdata;
- int (*mic_mute)(void *pdata, int mute);
+ int (*mic_mute)(void *pdata, enum ril_mic_mute mute);
int (*voice_volume)(void *pdata, audio_devices_t device, float volume);
int (*route)(void *pdata, audio_devices_t device);
};