diff options
author | Neema Shetty <nshetty@codeaurora.org> | 2010-10-01 16:06:45 -0700 |
---|---|---|
committer | Sunil Joseph <sunilj@codeaurora.org> | 2010-10-29 21:01:31 +0530 |
commit | a4be11514623d67b19794954d93ea4e9613ccfc9 (patch) | |
tree | 7dba8c22c777f53e534d8a081349f9953f6c190d | |
parent | d5977d3a4afaeed38c5cd70e41e608145312c7d3 (diff) | |
download | bionic-a4be11514623d67b19794954d93ea4e9613ccfc9.zip bionic-a4be11514623d67b19794954d93ea4e9613ccfc9.tar.gz bionic-a4be11514623d67b19794954d93ea4e9613ccfc9.tar.bz2 |
bionic: Add EVRC support.M7630AABBQVLZA303012
Added EVRC codec support to MVS interface.
Change-Id: Ifdbaa0b8461878ab4781a25036351e764fecaf54
-rw-r--r-- | libc/kernel/common/linux/msm_audio_mvs.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/libc/kernel/common/linux/msm_audio_mvs.h b/libc/kernel/common/linux/msm_audio_mvs.h index 01140e6..e5508b9 100644 --- a/libc/kernel/common/linux/msm_audio_mvs.h +++ b/libc/kernel/common/linux/msm_audio_mvs.h @@ -17,6 +17,7 @@ #define AUDIO_GET_MVS_CONFIG _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 0), unsigned) #define AUDIO_SET_MVS_CONFIG _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 1), unsigned) +#define MVS_MODE_IS127 2 #define MVS_MODE_AMR 5 #define MVS_MODE_LINEAR_PCM 9 #define MVS_MODE_PCM 12 @@ -43,6 +44,14 @@ enum msm_audio_amr_mode { MVS_AMR_MODE_UNDEF }; +enum msm_audio_voc_rate { + MVS_VOC_0_RATE, + MVS_VOC_8_RATE, + MVS_VOC_4_RATE, + MVS_VOC_2_RATE, + MVS_VOC_1_RATE +}; + enum msm_audio_amr_frame_type { MVS_AMR_SPEECH_GOOD, MVS_AMR_SPEECH_DEGRADED, @@ -52,7 +61,7 @@ enum msm_audio_amr_frame_type { MVS_AMR_SID_UPDATE, MVS_AMR_SID_BAD, MVS_AMR_NO_DATA, - MVS_AMR_SPEECH_LOST, + MVS_AMR_SPEECH_LOST }; struct msm_audio_mvs_config { |