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 _MSM_AUDIO_AC3_H 20 #define _MSM_AUDIO_AC3_H 21 #include <linux/msm_audio.h> 22 #define AUDIO_SET_AC3_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_GET_AC3_CONFIG _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 1), unsigned) 25 #define AUDAC3_DEF_WORDSIZE 0 26 #define AUDAC3_DEF_USER_DOWNMIX_FLAG 0x0 27 #define AUDAC3_DEF_USER_KARAOKE_FLAG 0x0 28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 29 #define AUDAC3_DEF_ERROR_CONCEALMENT 0 30 #define AUDAC3_DEF_MAX_REPEAT_COUNT 0 31 struct msm_audio_ac3_config { 32 unsigned short numChans; 33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 34 unsigned short wordSize; 35 unsigned short kCapableMode; 36 unsigned short compMode; 37 unsigned short outLfeOn; 38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 39 unsigned short outputMode; 40 unsigned short stereoMode; 41 unsigned short dualMonoMode; 42 unsigned short fsCod; 43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 44 unsigned short pcmScaleFac; 45 unsigned short dynRngScaleHi; 46 unsigned short dynRngScaleLow; 47 unsigned short user_downmix_flag; 48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 49 unsigned short user_karaoke_flag; 50 unsigned short dm_address_high; 51 unsigned short dm_address_low; 52 unsigned short ko_address_high; 53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 54 unsigned short ko_address_low; 55 unsigned short error_concealment; 56 unsigned short max_rep_count; 57 unsigned short channel_routing_mode[6]; 58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ 59 }; 60 #endif 61 62