diff options
author | vivek mehta <mvivek@codeaurora.org> | 2015-08-06 23:32:07 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-08-06 23:32:07 +0000 |
commit | 71e300f3db1c842a74b59443fec7eb96b5e049e1 (patch) | |
tree | 68eea1e05ff163a6fb92d58d921e53c92f353461 /hal/msm8974/platform.h | |
parent | 278ae2b58d5f365f426012cde24e4bc979eb89e5 (diff) | |
parent | dae4471837fcdbd9356e3745b66f23f921fb531b (diff) | |
download | hardware_qcom_audio-71e300f3db1c842a74b59443fec7eb96b5e049e1.tar.gz hardware_qcom_audio-71e300f3db1c842a74b59443fec7eb96b5e049e1.tar.bz2 hardware_qcom_audio-71e300f3db1c842a74b59443fec7eb96b5e049e1.zip |
am dae44718: hal: add support for multi-mic input and multi-channel output
* commit 'dae4471837fcdbd9356e3745b66f23f921fb531b':
hal: add support for multi-mic input and multi-channel output
Diffstat (limited to 'hal/msm8974/platform.h')
-rw-r--r-- | hal/msm8974/platform.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/hal/msm8974/platform.h b/hal/msm8974/platform.h index efc3bb1d..456e61f4 100644 --- a/hal/msm8974/platform.h +++ b/hal/msm8974/platform.h @@ -17,6 +17,19 @@ #ifndef QCOM_AUDIO_PLATFORM_H #define QCOM_AUDIO_PLATFORM_H +enum { + FLUENCE_DISABLE, /* Target dosent support fluence */ + FLUENCE_ENABLE = 0x1, /* Target supports fluence */ + FLUENCE_PRO_ENABLE = 0x2, /* Target supports fluence pro */ +}; + +enum { + SOURCE_MONO_MIC = 0x1, /* Target contains 1 mic */ + SOURCE_DUAL_MIC = 0x2, /* Target contains 2 mics */ + SOURCE_THREE_MIC = 0x4, /* Target contains 3 mics */ + SOURCE_QUAD_MIC = 0x8, /* Target contains 4 mics */ +}; + /* * Below are the devices for which is back end is same, SLIMBUS_0_RX. * All these devices are handled by the internal HW codec. We can @@ -118,8 +131,12 @@ enum { SND_DEVICE_IN_VOICE_RX, + SND_DEVICE_IN_THREE_MIC, + SND_DEVICE_IN_QUAD_MIC, SND_DEVICE_IN_CAPTURE_VI_FEEDBACK, + SND_DEVICE_IN_HANDSET_TMIC, + SND_DEVICE_IN_HANDSET_QMIC, SND_DEVICE_IN_END, SND_DEVICE_MAX = SND_DEVICE_IN_END, @@ -225,6 +242,7 @@ enum { #define LIB_MDM_DETECT "libmdmdetect.so" #define PLATFORM_CONFIG_KEY_SOUNDCARD_NAME "snd_card_name" +#define PLATFORM_MAX_MIC_COUNT "input_mic_max_count" /* CSD-CLIENT related functions */ typedef int (*init_t)(bool); |