Home | History | Annotate | Download | only in linux
      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_SBC_H
     20 #define _UAPI_MSM_AUDIO_SBC_H
     21 #include <linux/msm_audio.h>
     22 #define AUDIO_SET_SBC_ENC_CONFIG _IOW(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 0), struct msm_audio_sbc_enc_config)
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define AUDIO_GET_SBC_ENC_CONFIG _IOR(AUDIO_IOCTL_MAGIC, (AUDIO_MAX_COMMON_IOCTL_NUM + 1), struct msm_audio_sbc_enc_config)
     25 #define AUDIO_SBC_BA_LOUDNESS 0x0
     26 #define AUDIO_SBC_BA_SNR 0x1
     27 #define AUDIO_SBC_MODE_MONO 0x0
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define AUDIO_SBC_MODE_DUAL 0x1
     30 #define AUDIO_SBC_MODE_STEREO 0x2
     31 #define AUDIO_SBC_MODE_JSTEREO 0x3
     32 #define AUDIO_SBC_BANDS_8 0x1
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define AUDIO_SBC_BLOCKS_4 0x0
     35 #define AUDIO_SBC_BLOCKS_8 0x1
     36 #define AUDIO_SBC_BLOCKS_12 0x2
     37 #define AUDIO_SBC_BLOCKS_16 0x3
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 struct msm_audio_sbc_enc_config {
     40   uint32_t channels;
     41   uint32_t sample_rate;
     42   uint32_t bit_allocation;
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44   uint32_t number_of_subbands;
     45   uint32_t number_of_blocks;
     46   uint32_t bit_rate;
     47   uint32_t mode;
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 };
     50 #endif
     51 
     52