summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-10 22:20:28 +0100
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-01-10 22:20:28 +0100
commitade94cf114fbff4f3ebd2f8748a39dd3de92c967 (patch)
tree4e63a0c971854a5110a86d910c0fbea29a7635cb
parente406ad3ccadaa45aa3f7621b67f701a16df98585 (diff)
downloadhardware_tinyalsa-audio-ade94cf114fbff4f3ebd2f8748a39dd3de92c967.zip
hardware_tinyalsa-audio-ade94cf114fbff4f3ebd2f8748a39dd3de92c967.tar.gz
hardware_tinyalsa-audio-ade94cf114fbff4f3ebd2f8748a39dd3de92c967.tar.bz2
Audio RIL Interface: mic_mute implementationHEADreplicant-6.0-0001replicant-6.0
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-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);
};