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__SOUND_ASOUND_H
20 #define _UAPI__SOUND_ASOUND_H
21 #include <linux/types.h>
22 #include <stdlib.h>
23 #include <time.h>
24 #define SNDRV_PROTOCOL_VERSION(major,minor,subminor) (((major) << 16) | ((minor) << 8) | (subminor))
25 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
26 #define SNDRV_PROTOCOL_MAJOR(version) (((version) >> 16) & 0xffff)
27 #define SNDRV_PROTOCOL_MINOR(version) (((version) >> 8) & 0xff)
28 #define SNDRV_PROTOCOL_MICRO(version) ((version) & 0xff)
29 #define SNDRV_PROTOCOL_INCOMPATIBLE(kversion,uversion) (SNDRV_PROTOCOL_MAJOR(kversion) != SNDRV_PROTOCOL_MAJOR(uversion) || (SNDRV_PROTOCOL_MAJOR(kversion) == SNDRV_PROTOCOL_MAJOR(uversion) && SNDRV_PROTOCOL_MINOR(kversion) != SNDRV_PROTOCOL_MINOR(uversion)))
30 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
31 struct snd_aes_iec958 {
32   unsigned char status[24];
33   unsigned char subcode[147];
34   unsigned char pad;
35 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
36   unsigned char dig_subframe[4];
37 };
38 struct snd_cea_861_aud_if {
39   unsigned char db1_ct_cc;
40 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
41   unsigned char db2_sf_ss;
42   unsigned char db3;
43   unsigned char db4_ca;
44   unsigned char db5_dminh_lsv;
45 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
46 };
47 #define SNDRV_HWDEP_VERSION SNDRV_PROTOCOL_VERSION(1, 0, 1)
48 enum {
49   SNDRV_HWDEP_IFACE_OPL2 = 0,
50 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
51   SNDRV_HWDEP_IFACE_OPL3,
52   SNDRV_HWDEP_IFACE_OPL4,
53   SNDRV_HWDEP_IFACE_SB16CSP,
54   SNDRV_HWDEP_IFACE_EMU10K1,
55 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
56   SNDRV_HWDEP_IFACE_YSS225,
57   SNDRV_HWDEP_IFACE_ICS2115,
58   SNDRV_HWDEP_IFACE_SSCAPE,
59   SNDRV_HWDEP_IFACE_VX,
60 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
61   SNDRV_HWDEP_IFACE_MIXART,
62   SNDRV_HWDEP_IFACE_USX2Y,
63   SNDRV_HWDEP_IFACE_EMUX_WAVETABLE,
64   SNDRV_HWDEP_IFACE_BLUETOOTH,
65 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
66   SNDRV_HWDEP_IFACE_USX2Y_PCM,
67   SNDRV_HWDEP_IFACE_PCXHR,
68   SNDRV_HWDEP_IFACE_SB_RC,
69   SNDRV_HWDEP_IFACE_HDA,
70 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
71   SNDRV_HWDEP_IFACE_USB_STREAM,
72   SNDRV_HWDEP_IFACE_FW_DICE,
73   SNDRV_HWDEP_IFACE_FW_FIREWORKS,
74   SNDRV_HWDEP_IFACE_FW_BEBOB,
75 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
76   SNDRV_HWDEP_IFACE_AUDIO_BE,
77   SNDRV_HWDEP_IFACE_AUDIO_CODEC,
78   SNDRV_HWDEP_IFACE_LAST = SNDRV_HWDEP_IFACE_AUDIO_CODEC
79 };
80 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
81 struct snd_hwdep_info {
82   unsigned int device;
83   int card;
84   unsigned char id[64];
85 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
86   unsigned char name[80];
87   int iface;
88   unsigned char reserved[64];
89 };
90 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
91 struct snd_hwdep_dsp_status {
92   unsigned int version;
93   unsigned char id[32];
94   unsigned int num_dsps;
95 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
96   unsigned int dsp_loaded;
97   unsigned int chip_ready;
98   unsigned char reserved[16];
99 };
100 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
101 struct snd_hwdep_dsp_image {
102   unsigned int index;
103   unsigned char name[64];
104   unsigned char __user * image;
105 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
106   size_t length;
107   unsigned long driver_data;
108 };
109 #define SNDRV_HWDEP_IOCTL_PVERSION _IOR('H', 0x00, int)
110 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
111 #define SNDRV_HWDEP_IOCTL_INFO _IOR('H', 0x01, struct snd_hwdep_info)
112 #define SNDRV_HWDEP_IOCTL_DSP_STATUS _IOR('H', 0x02, struct snd_hwdep_dsp_status)
113 #define SNDRV_HWDEP_IOCTL_DSP_LOAD _IOW('H', 0x03, struct snd_hwdep_dsp_image)
114 #define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 12)
115 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
116 typedef unsigned long snd_pcm_uframes_t;
117 typedef signed long snd_pcm_sframes_t;
118 enum {
119   SNDRV_PCM_CLASS_GENERIC = 0,
120 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
121   SNDRV_PCM_CLASS_MULTI,
122   SNDRV_PCM_CLASS_MODEM,
123   SNDRV_PCM_CLASS_DIGITIZER,
124   SNDRV_PCM_CLASS_LAST = SNDRV_PCM_CLASS_DIGITIZER,
125 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
126 };
127 enum {
128   SNDRV_PCM_SUBCLASS_GENERIC_MIX = 0,
129   SNDRV_PCM_SUBCLASS_MULTI_MIX,
130 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
131   SNDRV_PCM_SUBCLASS_LAST = SNDRV_PCM_SUBCLASS_MULTI_MIX,
132 };
133 enum {
134   SNDRV_PCM_STREAM_PLAYBACK = 0,
135 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
136   SNDRV_PCM_STREAM_CAPTURE,
137   SNDRV_PCM_STREAM_LAST = SNDRV_PCM_STREAM_CAPTURE,
138 };
139 typedef int __bitwise snd_pcm_access_t;
140 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
141 #define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((__force snd_pcm_access_t) 0)
142 #define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((__force snd_pcm_access_t) 1)
143 #define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((__force snd_pcm_access_t) 2)
144 #define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((__force snd_pcm_access_t) 3)
145 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
146 #define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((__force snd_pcm_access_t) 4)
147 #define SNDRV_PCM_ACCESS_LAST SNDRV_PCM_ACCESS_RW_NONINTERLEAVED
148 typedef int __bitwise snd_pcm_format_t;
149 #define SNDRV_PCM_FORMAT_S8 ((__force snd_pcm_format_t) 0)
150 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
151 #define SNDRV_PCM_FORMAT_U8 ((__force snd_pcm_format_t) 1)
152 #define SNDRV_PCM_FORMAT_S16_LE ((__force snd_pcm_format_t) 2)
153 #define SNDRV_PCM_FORMAT_S16_BE ((__force snd_pcm_format_t) 3)
154 #define SNDRV_PCM_FORMAT_U16_LE ((__force snd_pcm_format_t) 4)
155 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
156 #define SNDRV_PCM_FORMAT_U16_BE ((__force snd_pcm_format_t) 5)
157 #define SNDRV_PCM_FORMAT_S24_LE ((__force snd_pcm_format_t) 6)
158 #define SNDRV_PCM_FORMAT_S24_BE ((__force snd_pcm_format_t) 7)
159 #define SNDRV_PCM_FORMAT_U24_LE ((__force snd_pcm_format_t) 8)
160 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
161 #define SNDRV_PCM_FORMAT_U24_BE ((__force snd_pcm_format_t) 9)
162 #define SNDRV_PCM_FORMAT_S32_LE ((__force snd_pcm_format_t) 10)
163 #define SNDRV_PCM_FORMAT_S32_BE ((__force snd_pcm_format_t) 11)
164 #define SNDRV_PCM_FORMAT_U32_LE ((__force snd_pcm_format_t) 12)
165 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
166 #define SNDRV_PCM_FORMAT_U32_BE ((__force snd_pcm_format_t) 13)
167 #define SNDRV_PCM_FORMAT_FLOAT_LE ((__force snd_pcm_format_t) 14)
168 #define SNDRV_PCM_FORMAT_FLOAT_BE ((__force snd_pcm_format_t) 15)
169 #define SNDRV_PCM_FORMAT_FLOAT64_LE ((__force snd_pcm_format_t) 16)
170 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
171 #define SNDRV_PCM_FORMAT_FLOAT64_BE ((__force snd_pcm_format_t) 17)
172 #define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ((__force snd_pcm_format_t) 18)
173 #define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE ((__force snd_pcm_format_t) 19)
174 #define SNDRV_PCM_FORMAT_MU_LAW ((__force snd_pcm_format_t) 20)
175 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
176 #define SNDRV_PCM_FORMAT_A_LAW ((__force snd_pcm_format_t) 21)
177 #define SNDRV_PCM_FORMAT_IMA_ADPCM ((__force snd_pcm_format_t) 22)
178 #define SNDRV_PCM_FORMAT_MPEG ((__force snd_pcm_format_t) 23)
179 #define SNDRV_PCM_FORMAT_GSM ((__force snd_pcm_format_t) 24)
180 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
181 #define SNDRV_PCM_FORMAT_SPECIAL ((__force snd_pcm_format_t) 31)
182 #define SNDRV_PCM_FORMAT_S24_3LE ((__force snd_pcm_format_t) 32)
183 #define SNDRV_PCM_FORMAT_S24_3BE ((__force snd_pcm_format_t) 33)
184 #define SNDRV_PCM_FORMAT_U24_3LE ((__force snd_pcm_format_t) 34)
185 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
186 #define SNDRV_PCM_FORMAT_U24_3BE ((__force snd_pcm_format_t) 35)
187 #define SNDRV_PCM_FORMAT_S20_3LE ((__force snd_pcm_format_t) 36)
188 #define SNDRV_PCM_FORMAT_S20_3BE ((__force snd_pcm_format_t) 37)
189 #define SNDRV_PCM_FORMAT_U20_3LE ((__force snd_pcm_format_t) 38)
190 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
191 #define SNDRV_PCM_FORMAT_U20_3BE ((__force snd_pcm_format_t) 39)
192 #define SNDRV_PCM_FORMAT_S18_3LE ((__force snd_pcm_format_t) 40)
193 #define SNDRV_PCM_FORMAT_S18_3BE ((__force snd_pcm_format_t) 41)
194 #define SNDRV_PCM_FORMAT_U18_3LE ((__force snd_pcm_format_t) 42)
195 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
196 #define SNDRV_PCM_FORMAT_U18_3BE ((__force snd_pcm_format_t) 43)
197 #define SNDRV_PCM_FORMAT_G723_24 ((__force snd_pcm_format_t) 44)
198 #define SNDRV_PCM_FORMAT_G723_24_1B ((__force snd_pcm_format_t) 45)
199 #define SNDRV_PCM_FORMAT_G723_40 ((__force snd_pcm_format_t) 46)
200 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
201 #define SNDRV_PCM_FORMAT_G723_40_1B ((__force snd_pcm_format_t) 47)
202 #define SNDRV_PCM_FORMAT_DSD_U8 ((__force snd_pcm_format_t) 48)
203 #define SNDRV_PCM_FORMAT_DSD_U16_LE ((__force snd_pcm_format_t) 49)
204 #define SNDRV_PCM_FORMAT_DSD_U32_LE ((__force snd_pcm_format_t) 50)
205 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
206 #define SNDRV_PCM_FORMAT_DSD_U16_BE ((__force snd_pcm_format_t) 51)
207 #define SNDRV_PCM_FORMAT_DSD_U32_BE ((__force snd_pcm_format_t) 52)
208 #define SNDRV_PCM_FORMAT_LAST SNDRV_PCM_FORMAT_DSD_U32_BE
209 #ifdef SNDRV_LITTLE_ENDIAN
210 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
211 #define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_LE
212 #define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_LE
213 #define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_LE
214 #define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_LE
215 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
216 #define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_LE
217 #define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_LE
218 #define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_LE
219 #define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_LE
220 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
221 #define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE
222 #endif
223 #ifdef SNDRV_BIG_ENDIAN
224 #define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_BE
225 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
226 #define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_BE
227 #define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_BE
228 #define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_BE
229 #define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_BE
230 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
231 #define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_BE
232 #define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_BE
233 #define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_BE
234 #define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE
235 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
236 #endif
237 typedef int __bitwise snd_pcm_subformat_t;
238 #define SNDRV_PCM_SUBFORMAT_STD ((__force snd_pcm_subformat_t) 0)
239 #define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_STD
240 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
241 #define SNDRV_PCM_INFO_MMAP 0x00000001
242 #define SNDRV_PCM_INFO_MMAP_VALID 0x00000002
243 #define SNDRV_PCM_INFO_DOUBLE 0x00000004
244 #define SNDRV_PCM_INFO_BATCH 0x00000010
245 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
246 #define SNDRV_PCM_INFO_INTERLEAVED 0x00000100
247 #define SNDRV_PCM_INFO_NONINTERLEAVED 0x00000200
248 #define SNDRV_PCM_INFO_COMPLEX 0x00000400
249 #define SNDRV_PCM_INFO_BLOCK_TRANSFER 0x00010000
250 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
251 #define SNDRV_PCM_INFO_OVERRANGE 0x00020000
252 #define SNDRV_PCM_INFO_RESUME 0x00040000
253 #define SNDRV_PCM_INFO_PAUSE 0x00080000
254 #define SNDRV_PCM_INFO_HALF_DUPLEX 0x00100000
255 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
256 #define SNDRV_PCM_INFO_JOINT_DUPLEX 0x00200000
257 #define SNDRV_PCM_INFO_SYNC_START 0x00400000
258 #define SNDRV_PCM_INFO_NO_PERIOD_WAKEUP 0x00800000
259 #define SNDRV_PCM_INFO_HAS_WALL_CLOCK 0x01000000
260 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
261 #define SNDRV_PCM_INFO_FIFO_IN_FRAMES 0x80000000
262 typedef int __bitwise snd_pcm_state_t;
263 #define SNDRV_PCM_STATE_OPEN ((__force snd_pcm_state_t) 0)
264 #define SNDRV_PCM_STATE_SETUP ((__force snd_pcm_state_t) 1)
265 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
266 #define SNDRV_PCM_STATE_PREPARED ((__force snd_pcm_state_t) 2)
267 #define SNDRV_PCM_STATE_RUNNING ((__force snd_pcm_state_t) 3)
268 #define SNDRV_PCM_STATE_XRUN ((__force snd_pcm_state_t) 4)
269 #define SNDRV_PCM_STATE_DRAINING ((__force snd_pcm_state_t) 5)
270 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
271 #define SNDRV_PCM_STATE_PAUSED ((__force snd_pcm_state_t) 6)
272 #define SNDRV_PCM_STATE_SUSPENDED ((__force snd_pcm_state_t) 7)
273 #define SNDRV_PCM_STATE_DISCONNECTED ((__force snd_pcm_state_t) 8)
274 #define SNDRV_PCM_STATE_LAST SNDRV_PCM_STATE_DISCONNECTED
275 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
276 enum {
277   SNDRV_PCM_MMAP_OFFSET_DATA = 0x00000000,
278   SNDRV_PCM_MMAP_OFFSET_STATUS = 0x80000000,
279   SNDRV_PCM_MMAP_OFFSET_CONTROL = 0x81000000,
280 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
281 };
282 union snd_pcm_sync_id {
283   unsigned char id[16];
284   unsigned short id16[8];
285 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
286   unsigned int id32[4];
287 };
288 struct snd_pcm_info {
289   unsigned int device;
290 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
291   unsigned int subdevice;
292   int stream;
293   int card;
294   unsigned char id[64];
295 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
296   unsigned char name[80];
297   unsigned char subname[32];
298   int dev_class;
299   int dev_subclass;
300 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
301   unsigned int subdevices_count;
302   unsigned int subdevices_avail;
303   union snd_pcm_sync_id sync;
304   unsigned char reserved[64];
305 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
306 };
307 typedef int snd_pcm_hw_param_t;
308 #define SNDRV_PCM_HW_PARAM_ACCESS 0
309 #define SNDRV_PCM_HW_PARAM_FORMAT 1
310 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
311 #define SNDRV_PCM_HW_PARAM_SUBFORMAT 2
312 #define SNDRV_PCM_HW_PARAM_FIRST_MASK SNDRV_PCM_HW_PARAM_ACCESS
313 #define SNDRV_PCM_HW_PARAM_LAST_MASK SNDRV_PCM_HW_PARAM_SUBFORMAT
314 #define SNDRV_PCM_HW_PARAM_SAMPLE_BITS 8
315 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
316 #define SNDRV_PCM_HW_PARAM_FRAME_BITS 9
317 #define SNDRV_PCM_HW_PARAM_CHANNELS 10
318 #define SNDRV_PCM_HW_PARAM_RATE 11
319 #define SNDRV_PCM_HW_PARAM_PERIOD_TIME 12
320 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
321 #define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13
322 #define SNDRV_PCM_HW_PARAM_PERIOD_BYTES 14
323 #define SNDRV_PCM_HW_PARAM_PERIODS 15
324 #define SNDRV_PCM_HW_PARAM_BUFFER_TIME 16
325 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
326 #define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17
327 #define SNDRV_PCM_HW_PARAM_BUFFER_BYTES 18
328 #define SNDRV_PCM_HW_PARAM_TICK_TIME 19
329 #define SNDRV_PCM_HW_PARAM_FIRST_INTERVAL SNDRV_PCM_HW_PARAM_SAMPLE_BITS
330 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
331 #define SNDRV_PCM_HW_PARAM_LAST_INTERVAL SNDRV_PCM_HW_PARAM_TICK_TIME
332 #define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1 << 0)
333 #define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1 << 1)
334 #define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1 << 2)
335 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
336 struct snd_interval {
337   unsigned int min, max;
338   unsigned int openmin : 1, openmax : 1, integer : 1, empty : 1;
339 };
340 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
341 #define SNDRV_MASK_MAX 256
342 struct snd_mask {
343   __u32 bits[(SNDRV_MASK_MAX + 31) / 32];
344 };
345 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
346 struct snd_pcm_hw_params {
347   unsigned int flags;
348   struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - SNDRV_PCM_HW_PARAM_FIRST_MASK + 1];
349   struct snd_mask mres[5];
350 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
351   struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL + 1];
352   struct snd_interval ires[9];
353   unsigned int rmask;
354   unsigned int cmask;
355 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
356   unsigned int info;
357   unsigned int msbits;
358   unsigned int rate_num;
359   unsigned int rate_den;
360 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
361   snd_pcm_uframes_t fifo_size;
362   unsigned char reserved[64];
363 };
364 enum {
365 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
366   SNDRV_PCM_TSTAMP_NONE = 0,
367   SNDRV_PCM_TSTAMP_ENABLE,
368   SNDRV_PCM_TSTAMP_LAST = SNDRV_PCM_TSTAMP_ENABLE,
369 };
370 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
371 struct snd_pcm_sw_params {
372   int tstamp_mode;
373   unsigned int period_step;
374   unsigned int sleep_min;
375 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
376   snd_pcm_uframes_t avail_min;
377   snd_pcm_uframes_t xfer_align;
378   snd_pcm_uframes_t start_threshold;
379   snd_pcm_uframes_t stop_threshold;
380 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
381   snd_pcm_uframes_t silence_threshold;
382   snd_pcm_uframes_t silence_size;
383   snd_pcm_uframes_t boundary;
384   unsigned int proto;
385 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
386   unsigned int tstamp_type;
387   unsigned char reserved[56];
388 };
389 struct snd_pcm_channel_info {
390 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
391   unsigned int channel;
392   __kernel_off_t offset;
393   unsigned int first;
394   unsigned int step;
395 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
396 };
397 struct snd_pcm_status {
398   snd_pcm_state_t state;
399   struct timespec trigger_tstamp;
400 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
401   struct timespec tstamp;
402   snd_pcm_uframes_t appl_ptr;
403   snd_pcm_uframes_t hw_ptr;
404   snd_pcm_sframes_t delay;
405 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
406   snd_pcm_uframes_t avail;
407   snd_pcm_uframes_t avail_max;
408   snd_pcm_uframes_t overrange;
409   snd_pcm_state_t suspended_state;
410 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
411   __u32 reserved_alignment;
412   struct timespec audio_tstamp;
413   unsigned char reserved[56 - sizeof(struct timespec)];
414 };
415 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
416 struct snd_pcm_mmap_status {
417   snd_pcm_state_t state;
418   int pad1;
419   snd_pcm_uframes_t hw_ptr;
420 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
421   struct timespec tstamp;
422   snd_pcm_state_t suspended_state;
423   struct timespec audio_tstamp;
424 };
425 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
426 struct snd_pcm_mmap_control {
427   snd_pcm_uframes_t appl_ptr;
428   snd_pcm_uframes_t avail_min;
429 };
430 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
431 #define SNDRV_PCM_SYNC_PTR_HWSYNC (1 << 0)
432 #define SNDRV_PCM_SYNC_PTR_APPL (1 << 1)
433 #define SNDRV_PCM_SYNC_PTR_AVAIL_MIN (1 << 2)
434 struct snd_pcm_sync_ptr {
435 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
436   unsigned int flags;
437   union {
438     struct snd_pcm_mmap_status status;
439     unsigned char reserved[64];
440 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
441   } s;
442   union {
443     struct snd_pcm_mmap_control control;
444     unsigned char reserved[64];
445 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
446   } c;
447 };
448 struct snd_xferi {
449   snd_pcm_sframes_t result;
450 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
451   void __user * buf;
452   snd_pcm_uframes_t frames;
453 };
454 struct snd_xfern {
455 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
456   snd_pcm_sframes_t result;
457   void __user * __user * bufs;
458   snd_pcm_uframes_t frames;
459 };
460 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
461 enum {
462   SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY = 0,
463   SNDRV_PCM_TSTAMP_TYPE_MONOTONIC,
464   SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW,
465 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
466   SNDRV_PCM_TSTAMP_TYPE_LAST = SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW,
467 };
468 enum {
469   SNDRV_CHMAP_UNKNOWN = 0,
470 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
471   SNDRV_CHMAP_NA,
472   SNDRV_CHMAP_MONO,
473   SNDRV_CHMAP_FL,
474   SNDRV_CHMAP_FR,
475 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
476   SNDRV_CHMAP_RL,
477   SNDRV_CHMAP_RR,
478   SNDRV_CHMAP_FC,
479   SNDRV_CHMAP_LFE,
480 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
481   SNDRV_CHMAP_SL,
482   SNDRV_CHMAP_SR,
483   SNDRV_CHMAP_RC,
484   SNDRV_CHMAP_FLC,
485 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
486   SNDRV_CHMAP_FRC,
487   SNDRV_CHMAP_RLC,
488   SNDRV_CHMAP_RRC,
489   SNDRV_CHMAP_FLW,
490 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
491   SNDRV_CHMAP_FRW,
492   SNDRV_CHMAP_FLH,
493   SNDRV_CHMAP_FCH,
494   SNDRV_CHMAP_FRH,
495 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
496   SNDRV_CHMAP_TC,
497   SNDRV_CHMAP_TFL,
498   SNDRV_CHMAP_TFR,
499   SNDRV_CHMAP_TFC,
500 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
501   SNDRV_CHMAP_TRL,
502   SNDRV_CHMAP_TRR,
503   SNDRV_CHMAP_TRC,
504   SNDRV_CHMAP_TFLC,
505 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
506   SNDRV_CHMAP_TFRC,
507   SNDRV_CHMAP_TSL,
508   SNDRV_CHMAP_TSR,
509   SNDRV_CHMAP_LLFE,
510 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
511   SNDRV_CHMAP_RLFE,
512   SNDRV_CHMAP_BC,
513   SNDRV_CHMAP_BLC,
514   SNDRV_CHMAP_BRC,
515 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
516   SNDRV_CHMAP_LAST = SNDRV_CHMAP_BRC,
517 };
518 #define SNDRV_CHMAP_POSITION_MASK 0xffff
519 #define SNDRV_CHMAP_PHASE_INVERSE (0x01 << 16)
520 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
521 #define SNDRV_CHMAP_DRIVER_SPEC (0x02 << 16)
522 #define SNDRV_PCM_IOCTL_PVERSION _IOR('A', 0x00, int)
523 #define SNDRV_PCM_IOCTL_INFO _IOR('A', 0x01, struct snd_pcm_info)
524 #define SNDRV_PCM_IOCTL_TSTAMP _IOW('A', 0x02, int)
525 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
526 #define SNDRV_PCM_IOCTL_TTSTAMP _IOW('A', 0x03, int)
527 #define SNDRV_PCM_IOCTL_HW_REFINE _IOWR('A', 0x10, struct snd_pcm_hw_params)
528 #define SNDRV_PCM_IOCTL_HW_PARAMS _IOWR('A', 0x11, struct snd_pcm_hw_params)
529 #define SNDRV_PCM_IOCTL_HW_FREE _IO('A', 0x12)
530 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
531 #define SNDRV_PCM_IOCTL_SW_PARAMS _IOWR('A', 0x13, struct snd_pcm_sw_params)
532 #define SNDRV_PCM_IOCTL_STATUS _IOR('A', 0x20, struct snd_pcm_status)
533 #define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
534 #define SNDRV_PCM_IOCTL_HWSYNC _IO('A', 0x22)
535 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
536 #define SNDRV_PCM_IOCTL_SYNC_PTR _IOWR('A', 0x23, struct snd_pcm_sync_ptr)
537 #define SNDRV_PCM_IOCTL_CHANNEL_INFO _IOR('A', 0x32, struct snd_pcm_channel_info)
538 #define SNDRV_PCM_IOCTL_PREPARE _IO('A', 0x40)
539 #define SNDRV_PCM_IOCTL_RESET _IO('A', 0x41)
540 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
541 #define SNDRV_PCM_IOCTL_START _IO('A', 0x42)
542 #define SNDRV_PCM_IOCTL_DROP _IO('A', 0x43)
543 #define SNDRV_PCM_IOCTL_DRAIN _IO('A', 0x44)
544 #define SNDRV_PCM_IOCTL_PAUSE _IOW('A', 0x45, int)
545 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
546 #define SNDRV_PCM_IOCTL_REWIND _IOW('A', 0x46, snd_pcm_uframes_t)
547 #define SNDRV_PCM_IOCTL_RESUME _IO('A', 0x47)
548 #define SNDRV_PCM_IOCTL_XRUN _IO('A', 0x48)
549 #define SNDRV_PCM_IOCTL_FORWARD _IOW('A', 0x49, snd_pcm_uframes_t)
550 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
551 #define SNDRV_PCM_IOCTL_WRITEI_FRAMES _IOW('A', 0x50, struct snd_xferi)
552 #define SNDRV_PCM_IOCTL_READI_FRAMES _IOR('A', 0x51, struct snd_xferi)
553 #define SNDRV_PCM_IOCTL_WRITEN_FRAMES _IOW('A', 0x52, struct snd_xfern)
554 #define SNDRV_PCM_IOCTL_READN_FRAMES _IOR('A', 0x53, struct snd_xfern)
555 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
556 #define SNDRV_PCM_IOCTL_LINK _IOW('A', 0x60, int)
557 #define SNDRV_PCM_IOCTL_UNLINK _IO('A', 0x61)
558 #define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 0)
559 enum {
560 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
561   SNDRV_RAWMIDI_STREAM_OUTPUT = 0,
562   SNDRV_RAWMIDI_STREAM_INPUT,
563   SNDRV_RAWMIDI_STREAM_LAST = SNDRV_RAWMIDI_STREAM_INPUT,
564 };
565 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
566 #define SNDRV_RAWMIDI_INFO_OUTPUT 0x00000001
567 #define SNDRV_RAWMIDI_INFO_INPUT 0x00000002
568 #define SNDRV_RAWMIDI_INFO_DUPLEX 0x00000004
569 struct snd_rawmidi_info {
570 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
571   unsigned int device;
572   unsigned int subdevice;
573   int stream;
574   int card;
575 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
576   unsigned int flags;
577   unsigned char id[64];
578   unsigned char name[80];
579   unsigned char subname[32];
580 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
581   unsigned int subdevices_count;
582   unsigned int subdevices_avail;
583   unsigned char reserved[64];
584 };
585 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
586 struct snd_rawmidi_params {
587   int stream;
588   size_t buffer_size;
589   size_t avail_min;
590 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
591   unsigned int no_active_sensing : 1;
592   unsigned char reserved[16];
593 };
594 struct snd_rawmidi_status {
595 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
596   int stream;
597   struct timespec tstamp;
598   size_t avail;
599   size_t xruns;
600 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
601   unsigned char reserved[16];
602 };
603 #define SNDRV_RAWMIDI_IOCTL_PVERSION _IOR('W', 0x00, int)
604 #define SNDRV_RAWMIDI_IOCTL_INFO _IOR('W', 0x01, struct snd_rawmidi_info)
605 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
606 #define SNDRV_RAWMIDI_IOCTL_PARAMS _IOWR('W', 0x10, struct snd_rawmidi_params)
607 #define SNDRV_RAWMIDI_IOCTL_STATUS _IOWR('W', 0x20, struct snd_rawmidi_status)
608 #define SNDRV_RAWMIDI_IOCTL_DROP _IOW('W', 0x30, int)
609 #define SNDRV_RAWMIDI_IOCTL_DRAIN _IOW('W', 0x31, int)
610 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
611 #define SNDRV_TIMER_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 6)
612 enum {
613   SNDRV_TIMER_CLASS_NONE = - 1,
614   SNDRV_TIMER_CLASS_SLAVE = 0,
615 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
616   SNDRV_TIMER_CLASS_GLOBAL,
617   SNDRV_TIMER_CLASS_CARD,
618   SNDRV_TIMER_CLASS_PCM,
619   SNDRV_TIMER_CLASS_LAST = SNDRV_TIMER_CLASS_PCM,
620 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
621 };
622 enum {
623   SNDRV_TIMER_SCLASS_NONE = 0,
624   SNDRV_TIMER_SCLASS_APPLICATION,
625 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
626   SNDRV_TIMER_SCLASS_SEQUENCER,
627   SNDRV_TIMER_SCLASS_OSS_SEQUENCER,
628   SNDRV_TIMER_SCLASS_LAST = SNDRV_TIMER_SCLASS_OSS_SEQUENCER,
629 };
630 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
631 #define SNDRV_TIMER_GLOBAL_SYSTEM 0
632 #define SNDRV_TIMER_GLOBAL_RTC 1
633 #define SNDRV_TIMER_GLOBAL_HPET 2
634 #define SNDRV_TIMER_GLOBAL_HRTIMER 3
635 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
636 #define SNDRV_TIMER_FLG_SLAVE (1 << 0)
637 struct snd_timer_id {
638   int dev_class;
639   int dev_sclass;
640 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
641   int card;
642   int device;
643   int subdevice;
644 };
645 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
646 struct snd_timer_ginfo {
647   struct snd_timer_id tid;
648   unsigned int flags;
649   int card;
650 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
651   unsigned char id[64];
652   unsigned char name[80];
653   unsigned long reserved0;
654   unsigned long resolution;
655 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
656   unsigned long resolution_min;
657   unsigned long resolution_max;
658   unsigned int clients;
659   unsigned char reserved[32];
660 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
661 };
662 struct snd_timer_gparams {
663   struct snd_timer_id tid;
664   unsigned long period_num;
665 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
666   unsigned long period_den;
667   unsigned char reserved[32];
668 };
669 struct snd_timer_gstatus {
670 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
671   struct snd_timer_id tid;
672   unsigned long resolution;
673   unsigned long resolution_num;
674   unsigned long resolution_den;
675 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
676   unsigned char reserved[32];
677 };
678 struct snd_timer_select {
679   struct snd_timer_id id;
680 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
681   unsigned char reserved[32];
682 };
683 struct snd_timer_info {
684   unsigned int flags;
685 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
686   int card;
687   unsigned char id[64];
688   unsigned char name[80];
689   unsigned long reserved0;
690 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
691   unsigned long resolution;
692   unsigned char reserved[64];
693 };
694 #define SNDRV_TIMER_PSFLG_AUTO (1 << 0)
695 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
696 #define SNDRV_TIMER_PSFLG_EXCLUSIVE (1 << 1)
697 #define SNDRV_TIMER_PSFLG_EARLY_EVENT (1 << 2)
698 struct snd_timer_params {
699   unsigned int flags;
700 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
701   unsigned int ticks;
702   unsigned int queue_size;
703   unsigned int reserved0;
704   unsigned int filter;
705 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
706   unsigned char reserved[60];
707 };
708 struct snd_timer_status {
709   struct timespec tstamp;
710 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
711   unsigned int resolution;
712   unsigned int lost;
713   unsigned int overrun;
714   unsigned int queue;
715 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
716   unsigned char reserved[64];
717 };
718 #define SNDRV_TIMER_IOCTL_PVERSION _IOR('T', 0x00, int)
719 #define SNDRV_TIMER_IOCTL_NEXT_DEVICE _IOWR('T', 0x01, struct snd_timer_id)
720 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
721 #define SNDRV_TIMER_IOCTL_TREAD _IOW('T', 0x02, int)
722 #define SNDRV_TIMER_IOCTL_GINFO _IOWR('T', 0x03, struct snd_timer_ginfo)
723 #define SNDRV_TIMER_IOCTL_GPARAMS _IOW('T', 0x04, struct snd_timer_gparams)
724 #define SNDRV_TIMER_IOCTL_GSTATUS _IOWR('T', 0x05, struct snd_timer_gstatus)
725 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
726 #define SNDRV_TIMER_IOCTL_SELECT _IOW('T', 0x10, struct snd_timer_select)
727 #define SNDRV_TIMER_IOCTL_INFO _IOR('T', 0x11, struct snd_timer_info)
728 #define SNDRV_TIMER_IOCTL_PARAMS _IOW('T', 0x12, struct snd_timer_params)
729 #define SNDRV_TIMER_IOCTL_STATUS _IOR('T', 0x14, struct snd_timer_status)
730 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
731 #define SNDRV_TIMER_IOCTL_START _IO('T', 0xa0)
732 #define SNDRV_TIMER_IOCTL_STOP _IO('T', 0xa1)
733 #define SNDRV_TIMER_IOCTL_CONTINUE _IO('T', 0xa2)
734 #define SNDRV_TIMER_IOCTL_PAUSE _IO('T', 0xa3)
735 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
736 struct snd_timer_read {
737   unsigned int resolution;
738   unsigned int ticks;
739 };
740 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
741 enum {
742   SNDRV_TIMER_EVENT_RESOLUTION = 0,
743   SNDRV_TIMER_EVENT_TICK,
744   SNDRV_TIMER_EVENT_START,
745 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
746   SNDRV_TIMER_EVENT_STOP,
747   SNDRV_TIMER_EVENT_CONTINUE,
748   SNDRV_TIMER_EVENT_PAUSE,
749   SNDRV_TIMER_EVENT_EARLY,
750 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
751   SNDRV_TIMER_EVENT_SUSPEND,
752   SNDRV_TIMER_EVENT_RESUME,
753   SNDRV_TIMER_EVENT_MSTART = SNDRV_TIMER_EVENT_START + 10,
754   SNDRV_TIMER_EVENT_MSTOP = SNDRV_TIMER_EVENT_STOP + 10,
755 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
756   SNDRV_TIMER_EVENT_MCONTINUE = SNDRV_TIMER_EVENT_CONTINUE + 10,
757   SNDRV_TIMER_EVENT_MPAUSE = SNDRV_TIMER_EVENT_PAUSE + 10,
758   SNDRV_TIMER_EVENT_MSUSPEND = SNDRV_TIMER_EVENT_SUSPEND + 10,
759   SNDRV_TIMER_EVENT_MRESUME = SNDRV_TIMER_EVENT_RESUME + 10,
760 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
761 };
762 struct snd_timer_tread {
763   int event;
764   struct timespec tstamp;
765 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
766   unsigned int val;
767 };
768 #define SNDRV_CTL_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 7)
769 struct snd_ctl_card_info {
770 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
771   int card;
772   int pad;
773   unsigned char id[16];
774   unsigned char driver[16];
775 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
776   unsigned char name[32];
777   unsigned char longname[80];
778   unsigned char reserved_[16];
779   unsigned char mixername[80];
780 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
781   unsigned char components[128];
782 };
783 typedef int __bitwise snd_ctl_elem_type_t;
784 #define SNDRV_CTL_ELEM_TYPE_NONE ((__force snd_ctl_elem_type_t) 0)
785 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
786 #define SNDRV_CTL_ELEM_TYPE_BOOLEAN ((__force snd_ctl_elem_type_t) 1)
787 #define SNDRV_CTL_ELEM_TYPE_INTEGER ((__force snd_ctl_elem_type_t) 2)
788 #define SNDRV_CTL_ELEM_TYPE_ENUMERATED ((__force snd_ctl_elem_type_t) 3)
789 #define SNDRV_CTL_ELEM_TYPE_BYTES ((__force snd_ctl_elem_type_t) 4)
790 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
791 #define SNDRV_CTL_ELEM_TYPE_IEC958 ((__force snd_ctl_elem_type_t) 5)
792 #define SNDRV_CTL_ELEM_TYPE_INTEGER64 ((__force snd_ctl_elem_type_t) 6)
793 #define SNDRV_CTL_ELEM_TYPE_LAST SNDRV_CTL_ELEM_TYPE_INTEGER64
794 typedef int __bitwise snd_ctl_elem_iface_t;
795 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
796 #define SNDRV_CTL_ELEM_IFACE_CARD ((__force snd_ctl_elem_iface_t) 0)
797 #define SNDRV_CTL_ELEM_IFACE_HWDEP ((__force snd_ctl_elem_iface_t) 1)
798 #define SNDRV_CTL_ELEM_IFACE_MIXER ((__force snd_ctl_elem_iface_t) 2)
799 #define SNDRV_CTL_ELEM_IFACE_PCM ((__force snd_ctl_elem_iface_t) 3)
800 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
801 #define SNDRV_CTL_ELEM_IFACE_RAWMIDI ((__force snd_ctl_elem_iface_t) 4)
802 #define SNDRV_CTL_ELEM_IFACE_TIMER ((__force snd_ctl_elem_iface_t) 5)
803 #define SNDRV_CTL_ELEM_IFACE_SEQUENCER ((__force snd_ctl_elem_iface_t) 6)
804 #define SNDRV_CTL_ELEM_IFACE_LAST SNDRV_CTL_ELEM_IFACE_SEQUENCER
805 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
806 #define SNDRV_CTL_ELEM_ACCESS_READ (1 << 0)
807 #define SNDRV_CTL_ELEM_ACCESS_WRITE (1 << 1)
808 #define SNDRV_CTL_ELEM_ACCESS_READWRITE (SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_WRITE)
809 #define SNDRV_CTL_ELEM_ACCESS_VOLATILE (1 << 2)
810 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
811 #define SNDRV_CTL_ELEM_ACCESS_TIMESTAMP (1 << 3)
812 #define SNDRV_CTL_ELEM_ACCESS_TLV_READ (1 << 4)
813 #define SNDRV_CTL_ELEM_ACCESS_TLV_WRITE (1 << 5)
814 #define SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE (SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_TLV_WRITE)
815 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
816 #define SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND (1 << 6)
817 #define SNDRV_CTL_ELEM_ACCESS_INACTIVE (1 << 8)
818 #define SNDRV_CTL_ELEM_ACCESS_LOCK (1 << 9)
819 #define SNDRV_CTL_ELEM_ACCESS_OWNER (1 << 10)
820 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
821 #define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1 << 28)
822 #define SNDRV_CTL_ELEM_ACCESS_USER (1 << 29)
823 #define SNDRV_CTL_POWER_D0 0x0000
824 #define SNDRV_CTL_POWER_D1 0x0100
825 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
826 #define SNDRV_CTL_POWER_D2 0x0200
827 #define SNDRV_CTL_POWER_D3 0x0300
828 #define SNDRV_CTL_POWER_D3hot (SNDRV_CTL_POWER_D3 | 0x0000)
829 #define SNDRV_CTL_POWER_D3cold (SNDRV_CTL_POWER_D3 | 0x0001)
830 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
831 #define SNDRV_CTL_ELEM_ID_NAME_MAXLEN 44
832 struct snd_ctl_elem_id {
833   unsigned int numid;
834   snd_ctl_elem_iface_t iface;
835 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
836   unsigned int device;
837   unsigned int subdevice;
838   unsigned char name[44];
839   unsigned int index;
840 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
841 };
842 struct snd_ctl_elem_list {
843   unsigned int offset;
844   unsigned int space;
845 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
846   unsigned int used;
847   unsigned int count;
848   struct snd_ctl_elem_id __user * pids;
849   unsigned char reserved[50];
850 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
851 };
852 struct snd_ctl_elem_info {
853   struct snd_ctl_elem_id id;
854   snd_ctl_elem_type_t type;
855 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
856   unsigned int access;
857   unsigned int count;
858   __kernel_pid_t owner;
859   union {
860 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
861     struct {
862       long min;
863       long max;
864       long step;
865 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
866     } integer;
867     struct {
868       long long min;
869       long long max;
870 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
871       long long step;
872     } integer64;
873     struct {
874       unsigned int items;
875 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
876       unsigned int item;
877       char name[64];
878       __u64 names_ptr;
879       unsigned int names_length;
880 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
881     } enumerated;
882     unsigned char reserved[128];
883   } value;
884   union {
885 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
886     unsigned short d[4];
887     unsigned short * d_ptr;
888   } dimen;
889   unsigned char reserved[64 - 4 * sizeof(unsigned short)];
890 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
891 };
892 struct snd_ctl_elem_value {
893   struct snd_ctl_elem_id id;
894   unsigned int indirect : 1;
895 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
896   union {
897     union {
898       long value[128];
899       long * value_ptr;
900 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
901     } integer;
902     union {
903       long long value[64];
904       long long * value_ptr;
905 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
906     } integer64;
907     union {
908       unsigned int item[128];
909       unsigned int * item_ptr;
910 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
911     } enumerated;
912     union {
913       unsigned char data[512];
914       unsigned char * data_ptr;
915 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
916     } bytes;
917     struct snd_aes_iec958 iec958;
918   } value;
919   struct timespec tstamp;
920 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
921   unsigned char reserved[128 - sizeof(struct timespec)];
922 };
923 struct snd_ctl_tlv {
924   unsigned int numid;
925 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
926   unsigned int length;
927   unsigned int tlv[0];
928 };
929 #define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int)
930 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
931 #define SNDRV_CTL_IOCTL_CARD_INFO _IOR('U', 0x01, struct snd_ctl_card_info)
932 #define SNDRV_CTL_IOCTL_ELEM_LIST _IOWR('U', 0x10, struct snd_ctl_elem_list)
933 #define SNDRV_CTL_IOCTL_ELEM_INFO _IOWR('U', 0x11, struct snd_ctl_elem_info)
934 #define SNDRV_CTL_IOCTL_ELEM_READ _IOWR('U', 0x12, struct snd_ctl_elem_value)
935 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
936 #define SNDRV_CTL_IOCTL_ELEM_WRITE _IOWR('U', 0x13, struct snd_ctl_elem_value)
937 #define SNDRV_CTL_IOCTL_ELEM_LOCK _IOW('U', 0x14, struct snd_ctl_elem_id)
938 #define SNDRV_CTL_IOCTL_ELEM_UNLOCK _IOW('U', 0x15, struct snd_ctl_elem_id)
939 #define SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS _IOWR('U', 0x16, int)
940 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
941 #define SNDRV_CTL_IOCTL_ELEM_ADD _IOWR('U', 0x17, struct snd_ctl_elem_info)
942 #define SNDRV_CTL_IOCTL_ELEM_REPLACE _IOWR('U', 0x18, struct snd_ctl_elem_info)
943 #define SNDRV_CTL_IOCTL_ELEM_REMOVE _IOWR('U', 0x19, struct snd_ctl_elem_id)
944 #define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv)
945 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
946 #define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv)
947 #define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv)
948 #define SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE _IOWR('U', 0x20, int)
949 #define SNDRV_CTL_IOCTL_HWDEP_INFO _IOR('U', 0x21, struct snd_hwdep_info)
950 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
951 #define SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE _IOR('U', 0x30, int)
952 #define SNDRV_CTL_IOCTL_PCM_INFO _IOWR('U', 0x31, struct snd_pcm_info)
953 #define SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE _IOW('U', 0x32, int)
954 #define SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE _IOWR('U', 0x40, int)
955 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
956 #define SNDRV_CTL_IOCTL_RAWMIDI_INFO _IOWR('U', 0x41, struct snd_rawmidi_info)
957 #define SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE _IOW('U', 0x42, int)
958 #define SNDRV_CTL_IOCTL_POWER _IOWR('U', 0xd0, int)
959 #define SNDRV_CTL_IOCTL_POWER_STATE _IOR('U', 0xd1, int)
960 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
961 enum sndrv_ctl_event_type {
962   SNDRV_CTL_EVENT_ELEM = 0,
963   SNDRV_CTL_EVENT_LAST = SNDRV_CTL_EVENT_ELEM,
964 };
965 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
966 #define SNDRV_CTL_EVENT_MASK_VALUE (1 << 0)
967 #define SNDRV_CTL_EVENT_MASK_INFO (1 << 1)
968 #define SNDRV_CTL_EVENT_MASK_ADD (1 << 2)
969 #define SNDRV_CTL_EVENT_MASK_TLV (1 << 3)
970 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
971 #define SNDRV_CTL_EVENT_MASK_REMOVE (~0U)
972 struct snd_ctl_event {
973   int type;
974   union {
975 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
976     struct {
977       unsigned int mask;
978       struct snd_ctl_elem_id id;
979     } elem;
980 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
981     unsigned char data8[60];
982   } data;
983 };
984 #define SNDRV_CTL_NAME_NONE ""
985 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
986 #define SNDRV_CTL_NAME_PLAYBACK "Playback "
987 #define SNDRV_CTL_NAME_CAPTURE "Capture "
988 #define SNDRV_CTL_NAME_IEC958_NONE ""
989 #define SNDRV_CTL_NAME_IEC958_SWITCH "Switch"
990 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
991 #define SNDRV_CTL_NAME_IEC958_VOLUME "Volume"
992 #define SNDRV_CTL_NAME_IEC958_DEFAULT "Default"
993 #define SNDRV_CTL_NAME_IEC958_MASK "Mask"
994 #define SNDRV_CTL_NAME_IEC958_CON_MASK "Con Mask"
995 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
996 #define SNDRV_CTL_NAME_IEC958_PRO_MASK "Pro Mask"
997 #define SNDRV_CTL_NAME_IEC958_PCM_STREAM "PCM Stream"
998 #define SNDRV_CTL_NAME_IEC958(expl,direction,what) "IEC958 " expl SNDRV_CTL_NAME_ ##direction SNDRV_CTL_NAME_IEC958_ ##what
999 #endif
1000 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1001 
1002