summaryrefslogtreecommitdiffstats
path: root/audio/ril_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ril_interface.h')
-rwxr-xr-xaudio/ril_interface.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/ril_interface.h b/audio/ril_interface.h
index 676772c..4b401aa 100755
--- a/audio/ril_interface.h
+++ b/audio/ril_interface.h
@@ -60,6 +60,16 @@ enum ril_clock_state {
SOUND_CLOCK_START
};
+enum ril_two_mic_device {
+ AUDIENCE,
+ FORTEMEDIA
+};
+
+enum ril_two_mic_state {
+ TWO_MIC_SOLUTION_OFF,
+ TWO_MIC_SOLUTION_ON
+};
+
/* Function prototypes */
int ril_open(struct ril_handle *ril);
int ril_close(struct ril_handle *ril);
@@ -68,5 +78,6 @@ int ril_set_call_volume(struct ril_handle *ril, enum ril_sound_type sound_type,
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);
#endif