1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _UAPI_MSM_AUDIO_VOICEMEMO_H 20 #define _UAPI_MSM_AUDIO_VOICEMEMO_H 21 #include <linux/msm_audio.h> 22 #define AUDIO_GET_VOICEMEMO_CONFIG _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 0), unsigned) 23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 24 #define AUDIO_SET_VOICEMEMO_CONFIG _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 1), unsigned) 25 enum rpc_voc_rec_dir_type { 26 RPC_VOC_REC_NONE, 27 RPC_VOC_REC_FORWARD, 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 RPC_VOC_REC_REVERSE, 30 RPC_VOC_REC_BOTH, 31 RPC_VOC_MAX_REC_TYPE 32 }; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 enum rpc_voc_capability_type { 35 RPC_VOC_CAP_IS733 = 4, 36 RPC_VOC_CAP_IS127 = 8, 37 RPC_VOC_CAP_AMR = 64, 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 RPC_VOC_CAP_32BIT_DUMMY = 2147483647 40 }; 41 enum rpc_voc_rate_type { 42 RPC_VOC_0_RATE = 0, 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 RPC_VOC_8_RATE, 45 RPC_VOC_4_RATE, 46 RPC_VOC_2_RATE, 47 RPC_VOC_1_RATE, 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 RPC_VOC_ERASURE, 50 RPC_VOC_ERR_RATE, 51 RPC_VOC_AMR_RATE_475 = 0, 52 RPC_VOC_AMR_RATE_515 = 1, 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 RPC_VOC_AMR_RATE_590 = 2, 55 RPC_VOC_AMR_RATE_670 = 3, 56 RPC_VOC_AMR_RATE_740 = 4, 57 RPC_VOC_AMR_RATE_795 = 5, 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 RPC_VOC_AMR_RATE_1020 = 6, 60 RPC_VOC_AMR_RATE_1220 = 7, 61 }; 62 enum rpc_voc_pb_len_rate_var_type { 63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 64 RPC_VOC_PB_NATIVE_QCP = 3, 65 RPC_VOC_PB_AMR, 66 RPC_VOC_PB_EVB 67 }; 68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 69 struct msm_audio_voicememo_config { 70 uint32_t rec_type; 71 uint32_t rec_interval_ms; 72 uint32_t auto_stop_ms; 73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 74 uint32_t capability; 75 uint32_t max_rate; 76 uint32_t min_rate; 77 uint32_t frame_format; 78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 79 uint32_t dtx_enable; 80 uint32_t data_req_ms; 81 }; 82 #endif 83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 84 85