summaryrefslogtreecommitdiffstats
path: root/audio/ril_interface.h
diff options
context:
space:
mode:
authorkristofpetho <kristof.petho@gmail.com>2012-11-23 18:57:11 +0000
committernebkat <nebkat@teamhacksung.org>2012-11-23 18:58:35 +0000
commit08927522e3f0da2075a1ab430e94ac5500826397 (patch)
treeabfb760326b5043f8a97cf0234493df6bb2d9cb4 /audio/ril_interface.h
parentf4bfad0f04dec0ec144c3a1406b94bdb772f01a2 (diff)
downloaddevice_samsung_n7100-08927522e3f0da2075a1ab430e94ac5500826397.zip
device_samsung_n7100-08927522e3f0da2075a1ab430e94ac5500826397.tar.gz
device_samsung_n7100-08927522e3f0da2075a1ab430e94ac5500826397.tar.bz2
Audio updates
Change-Id: I99bd3588cbedad43090595f153ae5c39eb7251e2
Diffstat (limited to 'audio/ril_interface.h')
-rw-r--r--[-rwxr-xr-x]audio/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..100644
--- 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