Home | History | Annotate | Download | only in sound
      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 __SND_COMPRESS_PARAMS_H
     20 #define __SND_COMPRESS_PARAMS_H
     21 #include <linux/types.h>
     22 #define SND_DEC_DDP_MAX_PARAMS 18
     23 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define MAX_NUM_CODECS 32
     25 #define MAX_NUM_CODEC_DESCRIPTORS 32
     26 #define MAX_NUM_BITRATES 32
     27 #define MAX_NUM_SAMPLE_RATES 32
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define MAX_NUM_FRAMES_PER_BUFFER 1
     30 #define COMPRESSED_META_DATA_MODE 0x10
     31 #define META_DATA_LEN_BYTES 36
     32 #define Q6_AC3_DECODER 0x00010BF6
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define Q6_EAC3_DECODER 0x00010C3C
     35 #define Q6_DTS 0x00010D88
     36 #define Q6_DTS_LBR 0x00010DBB
     37 #define SND_AUDIOCODEC_PCM ((__u32) 0x00000001)
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define SND_AUDIOCODEC_MP3 ((__u32) 0x00000002)
     40 #define SND_AUDIOCODEC_AMR ((__u32) 0x00000003)
     41 #define SND_AUDIOCODEC_AMRWB ((__u32) 0x00000004)
     42 #define SND_AUDIOCODEC_AMRWBPLUS ((__u32) 0x00000005)
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define SND_AUDIOCODEC_AAC ((__u32) 0x00000006)
     45 #define SND_AUDIOCODEC_WMA ((__u32) 0x00000007)
     46 #define SND_AUDIOCODEC_REAL ((__u32) 0x00000008)
     47 #define SND_AUDIOCODEC_VORBIS ((__u32) 0x00000009)
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define SND_AUDIOCODEC_FLAC ((__u32) 0x0000000A)
     50 #define SND_AUDIOCODEC_IEC61937 ((__u32) 0x0000000B)
     51 #define SND_AUDIOCODEC_G723_1 ((__u32) 0x0000000C)
     52 #define SND_AUDIOCODEC_G729 ((__u32) 0x0000000D)
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define SND_AUDIOCODEC_DTS_PASS_THROUGH ((__u32) 0x0000000E)
     55 #define SND_AUDIOCODEC_DTS_LBR ((__u32) 0x0000000F)
     56 #define SND_AUDIOCODEC_DTS_TRANSCODE_LOOPBACK ((__u32) 0x00000010)
     57 #define SND_AUDIOCODEC_PASS_THROUGH ((__u32) 0x00000011)
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #define SND_AUDIOCODEC_MP2 ((__u32) 0x00000012)
     60 #define SND_AUDIOCODEC_DTS_LBR_PASS_THROUGH ((__u32) 0x00000013)
     61 #define SND_AUDIOCODEC_AC3 ((__u32) 0x00000014)
     62 #define SND_AUDIOCODEC_AC3_PASS_THROUGH ((__u32) 0x00000015)
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define SND_AUDIOCODEC_WMA_PRO ((__u32) 0x00000016)
     65 #define SND_AUDIOCODEC_DTS ((__u32) 0x00000017)
     66 #define SND_AUDIOCODEC_EAC3 ((__u32) 0x00000018)
     67 #define SND_AUDIOCODEC_ALAC ((__u32) 0x00000019)
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #define SND_AUDIOCODEC_APE ((__u32) 0x00000020)
     70 #define SND_AUDIOCODEC_MAX SND_AUDIOCODEC_APE
     71 #define SND_AUDIOPROFILE_PCM ((__u32) 0x00000001)
     72 #define SND_AUDIOCHANMODE_MP3_MONO ((__u32) 0x00000001)
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define SND_AUDIOCHANMODE_MP3_STEREO ((__u32) 0x00000002)
     75 #define SND_AUDIOCHANMODE_MP3_JOINTSTEREO ((__u32) 0x00000004)
     76 #define SND_AUDIOCHANMODE_MP3_DUAL ((__u32) 0x00000008)
     77 #define SND_AUDIOPROFILE_AMR ((__u32) 0x00000001)
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define SND_AUDIOMODE_AMR_DTX_OFF ((__u32) 0x00000001)
     80 #define SND_AUDIOMODE_AMR_VAD1 ((__u32) 0x00000002)
     81 #define SND_AUDIOMODE_AMR_VAD2 ((__u32) 0x00000004)
     82 #define SND_AUDIOSTREAMFORMAT_UNDEFINED ((__u32) 0x00000000)
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define SND_AUDIOSTREAMFORMAT_CONFORMANCE ((__u32) 0x00000001)
     85 #define SND_AUDIOSTREAMFORMAT_IF1 ((__u32) 0x00000002)
     86 #define SND_AUDIOSTREAMFORMAT_IF2 ((__u32) 0x00000004)
     87 #define SND_AUDIOSTREAMFORMAT_FSF ((__u32) 0x00000008)
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #define SND_AUDIOSTREAMFORMAT_RTPPAYLOAD ((__u32) 0x00000010)
     90 #define SND_AUDIOSTREAMFORMAT_ITU ((__u32) 0x00000020)
     91 #define SND_AUDIOPROFILE_AMRWB ((__u32) 0x00000001)
     92 #define SND_AUDIOMODE_AMRWB_DTX_OFF ((__u32) 0x00000001)
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94 #define SND_AUDIOMODE_AMRWB_VAD1 ((__u32) 0x00000002)
     95 #define SND_AUDIOMODE_AMRWB_VAD2 ((__u32) 0x00000004)
     96 #define SND_AUDIOPROFILE_AMRWBPLUS ((__u32) 0x00000001)
     97 #define SND_AUDIOPROFILE_AAC ((__u32) 0x00000001)
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99 #define SND_AUDIOMODE_AAC_MAIN ((__u32) 0x00000001)
    100 #define SND_AUDIOMODE_AAC_LC ((__u32) 0x00000002)
    101 #define SND_AUDIOMODE_AAC_SSR ((__u32) 0x00000004)
    102 #define SND_AUDIOMODE_AAC_LTP ((__u32) 0x00000008)
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104 #define SND_AUDIOMODE_AAC_HE ((__u32) 0x00000010)
    105 #define SND_AUDIOMODE_AAC_SCALABLE ((__u32) 0x00000020)
    106 #define SND_AUDIOMODE_AAC_ERLC ((__u32) 0x00000040)
    107 #define SND_AUDIOMODE_AAC_LD ((__u32) 0x00000080)
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109 #define SND_AUDIOMODE_AAC_HE_PS ((__u32) 0x00000100)
    110 #define SND_AUDIOMODE_AAC_HE_MPS ((__u32) 0x00000200)
    111 #define SND_AUDIOSTREAMFORMAT_MP2ADTS ((__u32) 0x00000001)
    112 #define SND_AUDIOSTREAMFORMAT_MP4ADTS ((__u32) 0x00000002)
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114 #define SND_AUDIOSTREAMFORMAT_MP4LOAS ((__u32) 0x00000004)
    115 #define SND_AUDIOSTREAMFORMAT_MP4LATM ((__u32) 0x00000008)
    116 #define SND_AUDIOSTREAMFORMAT_ADIF ((__u32) 0x00000010)
    117 #define SND_AUDIOSTREAMFORMAT_MP4FF ((__u32) 0x00000020)
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119 #define SND_AUDIOSTREAMFORMAT_RAW ((__u32) 0x00000040)
    120 #define SND_AUDIOPROFILE_WMA7 ((__u32) 0x00000001)
    121 #define SND_AUDIOPROFILE_WMA8 ((__u32) 0x00000002)
    122 #define SND_AUDIOPROFILE_WMA9 ((__u32) 0x00000004)
    123 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    124 #define SND_AUDIOPROFILE_WMA10 ((__u32) 0x00000008)
    125 #define SND_AUDIOMODE_WMA_LEVEL1 ((__u32) 0x00000001)
    126 #define SND_AUDIOMODE_WMA_LEVEL2 ((__u32) 0x00000002)
    127 #define SND_AUDIOMODE_WMA_LEVEL3 ((__u32) 0x00000004)
    128 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    129 #define SND_AUDIOMODE_WMA_LEVEL4 ((__u32) 0x00000008)
    130 #define SND_AUDIOMODE_WMAPRO_LEVELM0 ((__u32) 0x00000010)
    131 #define SND_AUDIOMODE_WMAPRO_LEVELM1 ((__u32) 0x00000020)
    132 #define SND_AUDIOMODE_WMAPRO_LEVELM2 ((__u32) 0x00000040)
    133 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    134 #define SND_AUDIOMODE_WMAPRO_LEVELM3 ((__u32) 0x00000080)
    135 #define SND_AUDIOSTREAMFORMAT_WMA_ASF ((__u32) 0x00000001)
    136 #define SND_AUDIOSTREAMFORMAT_WMA_NOASF_HDR ((__u32) 0x00000002)
    137 #define SND_AUDIOPROFILE_REALAUDIO ((__u32) 0x00000001)
    138 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    139 #define SND_AUDIOMODE_REALAUDIO_G2 ((__u32) 0x00000001)
    140 #define SND_AUDIOMODE_REALAUDIO_8 ((__u32) 0x00000002)
    141 #define SND_AUDIOMODE_REALAUDIO_10 ((__u32) 0x00000004)
    142 #define SND_AUDIOMODE_REALAUDIO_SURROUND ((__u32) 0x00000008)
    143 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    144 #define SND_AUDIOPROFILE_VORBIS ((__u32) 0x00000001)
    145 #define SND_AUDIOMODE_VORBIS ((__u32) 0x00000001)
    146 #define SND_AUDIOPROFILE_FLAC ((__u32) 0x00000001)
    147 #define SND_AUDIOMODE_FLAC_LEVEL0 ((__u32) 0x00000001)
    148 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    149 #define SND_AUDIOMODE_FLAC_LEVEL1 ((__u32) 0x00000002)
    150 #define SND_AUDIOMODE_FLAC_LEVEL2 ((__u32) 0x00000004)
    151 #define SND_AUDIOMODE_FLAC_LEVEL3 ((__u32) 0x00000008)
    152 #define SND_AUDIOMODE_FLAC_LEVEL4 ((__u32) 0x00000010)
    153 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    154 #define SND_AUDIOMODE_FLAC_LEVEL5 ((__u32) 0x00000020)
    155 #define SND_AUDIOMODE_FLAC_LEVEL6 ((__u32) 0x00000040)
    156 #define SND_AUDIOMODE_FLAC_LEVEL7 ((__u32) 0x00000080)
    157 #define SND_AUDIOMODE_FLAC_LEVEL8 ((__u32) 0x00000100)
    158 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    159 #define SND_AUDIOSTREAMFORMAT_FLAC ((__u32) 0x00000001)
    160 #define SND_AUDIOSTREAMFORMAT_FLAC_OGG ((__u32) 0x00000002)
    161 #define SND_AUDIOPROFILE_IEC61937 ((__u32) 0x00000001)
    162 #define SND_AUDIOPROFILE_IEC61937_SPDIF ((__u32) 0x00000002)
    163 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    164 #define SND_AUDIOMODE_IEC_REF_STREAM_HEADER ((__u32) 0x00000000)
    165 #define SND_AUDIOMODE_IEC_LPCM ((__u32) 0x00000001)
    166 #define SND_AUDIOMODE_IEC_AC3 ((__u32) 0x00000002)
    167 #define SND_AUDIOMODE_IEC_MPEG1 ((__u32) 0x00000004)
    168 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    169 #define SND_AUDIOMODE_IEC_MP3 ((__u32) 0x00000008)
    170 #define SND_AUDIOMODE_IEC_MPEG2 ((__u32) 0x00000010)
    171 #define SND_AUDIOMODE_IEC_AACLC ((__u32) 0x00000020)
    172 #define SND_AUDIOMODE_IEC_DTS ((__u32) 0x00000040)
    173 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    174 #define SND_AUDIOMODE_IEC_ATRAC ((__u32) 0x00000080)
    175 #define SND_AUDIOMODE_IEC_SACD ((__u32) 0x00000100)
    176 #define SND_AUDIOMODE_IEC_EAC3 ((__u32) 0x00000200)
    177 #define SND_AUDIOMODE_IEC_DTS_HD ((__u32) 0x00000400)
    178 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    179 #define SND_AUDIOMODE_IEC_MLP ((__u32) 0x00000800)
    180 #define SND_AUDIOMODE_IEC_DST ((__u32) 0x00001000)
    181 #define SND_AUDIOMODE_IEC_WMAPRO ((__u32) 0x00002000)
    182 #define SND_AUDIOMODE_IEC_REF_CXT ((__u32) 0x00004000)
    183 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    184 #define SND_AUDIOMODE_IEC_HE_AAC ((__u32) 0x00008000)
    185 #define SND_AUDIOMODE_IEC_HE_AAC2 ((__u32) 0x00010000)
    186 #define SND_AUDIOMODE_IEC_MPEG_SURROUND ((__u32) 0x00020000)
    187 #define SND_AUDIOPROFILE_G723_1 ((__u32) 0x00000001)
    188 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    189 #define SND_AUDIOMODE_G723_1_ANNEX_A ((__u32) 0x00000001)
    190 #define SND_AUDIOMODE_G723_1_ANNEX_B ((__u32) 0x00000002)
    191 #define SND_AUDIOMODE_G723_1_ANNEX_C ((__u32) 0x00000004)
    192 #define SND_AUDIOPROFILE_G729 ((__u32) 0x00000001)
    193 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    194 #define SND_AUDIOMODE_G729_ANNEX_A ((__u32) 0x00000001)
    195 #define SND_AUDIOMODE_G729_ANNEX_B ((__u32) 0x00000002)
    196 #define SND_RATECONTROLMODE_CONSTANTBITRATE ((__u32) 0x00000001)
    197 #define SND_RATECONTROLMODE_VARIABLEBITRATE ((__u32) 0x00000002)
    198 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    199 struct snd_enc_wma {
    200   __u32 super_block_align;
    201   __u32 bits_per_sample;
    202   __u32 channelmask;
    203 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    204   __u32 encodeopt;
    205   __u32 encodeopt1;
    206   __u32 encodeopt2;
    207   __u32 avg_bit_rate;
    208 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    209 };
    210 struct snd_enc_vorbis {
    211   __s32 quality;
    212   __u32 managed;
    213 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    214   __u32 max_bit_rate;
    215   __u32 min_bit_rate;
    216   __u32 downmix;
    217 } __attribute__((packed, aligned(4)));
    218 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    219 struct snd_enc_real {
    220   __u32 quant_bits;
    221   __u32 start_region;
    222   __u32 num_regions;
    223 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    224 } __attribute__((packed, aligned(4)));
    225 struct snd_enc_flac {
    226   __u32 num;
    227   __u32 gain;
    228 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    229 } __attribute__((packed, aligned(4)));
    230 struct snd_enc_generic {
    231   __u32 bw;
    232   __s32 reserved[15];
    233 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    234 } __attribute__((packed, aligned(4)));
    235 struct snd_dec_ddp {
    236   __u32 params_length;
    237   __u32 params_id[SND_DEC_DDP_MAX_PARAMS];
    238 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    239   __u32 params_value[SND_DEC_DDP_MAX_PARAMS];
    240 } __attribute__((packed, aligned(4)));
    241 struct snd_dec_flac {
    242   __u16 sample_size;
    243 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    244   __u16 min_blk_size;
    245   __u16 max_blk_size;
    246   __u16 min_frame_size;
    247   __u16 max_frame_size;
    248 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    249 } __attribute__((packed, aligned(4)));
    250 struct snd_dec_vorbis {
    251   __u32 bit_stream_fmt;
    252 };
    253 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    254 struct snd_dec_alac {
    255   __u32 frame_length;
    256   __u8 compatible_version;
    257   __u8 bit_depth;
    258 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    259   __u8 pb;
    260   __u8 mb;
    261   __u8 kb;
    262   __u8 num_channels;
    263 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    264   __u16 max_run;
    265   __u32 max_frame_bytes;
    266   __u32 avg_bit_rate;
    267   __u32 sample_rate;
    268 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    269   __u32 channel_layout_tag;
    270 };
    271 struct snd_dec_ape {
    272   __u16 compatible_version;
    273 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    274   __u16 compression_level;
    275   __u32 format_flags;
    276   __u32 blocks_per_frame;
    277   __u32 final_frame_blocks;
    278 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    279   __u32 total_frames;
    280   __u16 bits_per_sample;
    281   __u16 num_channels;
    282   __u32 sample_rate;
    283 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    284   __u32 seek_table_present;
    285 };
    286 union snd_codec_options {
    287   struct snd_enc_wma wma;
    288 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    289   struct snd_enc_vorbis vorbis;
    290   struct snd_enc_real real;
    291   struct snd_enc_flac flac;
    292   struct snd_enc_generic generic;
    293 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    294   struct snd_dec_ddp ddp;
    295   struct snd_dec_flac flac_dec;
    296   struct snd_dec_vorbis vorbis_dec;
    297   struct snd_dec_alac alac;
    298 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    299   struct snd_dec_ape ape;
    300 } __attribute__((packed, aligned(4)));
    301 struct snd_codec_desc {
    302   __u32 max_ch;
    303 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    304   __u32 sample_rates[MAX_NUM_SAMPLE_RATES];
    305   __u32 num_sample_rates;
    306   __u32 bit_rate[MAX_NUM_BITRATES];
    307   __u32 num_bitrates;
    308 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    309   __u32 rate_control;
    310   __u32 profiles;
    311   __u32 modes;
    312   __u32 formats;
    313 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    314   __u32 min_buffer;
    315   __u32 reserved[15];
    316 } __attribute__((packed, aligned(4)));
    317 struct snd_codec {
    318 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    319   __u32 id;
    320   __u32 ch_in;
    321   __u32 ch_out;
    322   __u32 sample_rate;
    323 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    324   __u32 bit_rate;
    325   __u32 rate_control;
    326   __u32 profile;
    327   __u32 level;
    328 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    329   __u32 ch_mode;
    330   __u32 format;
    331   __u32 align;
    332   __u32 compr_passthr;
    333 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    334   union snd_codec_options options;
    335   __u32 reserved[3];
    336 } __attribute__((packed, aligned(4)));
    337 struct dsp_effect_param {
    338 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    339   uint32_t effect_type;
    340   uint32_t module_id;
    341   uint32_t param_id;
    342   uint32_t payload_size;
    343 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    344 };
    345 #endif
    346 
    347