VSF Documented
asound.h
Go to the documentation of this file.
1#ifndef __VSF_LINUX_SOUND_ASOUND_H__
2#define __VSF_LINUX_SOUND_ASOUND_H__
3
4#include <linux/ioctl.h>
5
6#if defined(__LITTLE_ENDIAN)
7# define SNDRV_LITTLE_ENDIAN
8#elif defined(__BIG_ENDIAN)
9# define NDRV_BIG_ENDIAN
10#else
11# error "Unsupported endian..."
12#endif
13
14#define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor))
15#define SNDRV_PROTOCOL_MAJOR(version) (((version)>>16)&0xffff)
16#define SNDRV_PROTOCOL_MINOR(version) (((version)>>8)&0xff)
17#define SNDRV_PROTOCOL_MICRO(version) ((version)&0xff)
18#define SNDRV_PROTOCOL_INCOMPATIBLE(kversion, uversion) \
19 ( SNDRV_PROTOCOL_MAJOR(kversion) != SNDRV_PROTOCOL_MAJOR(uversion) \
20 || ( SNDRV_PROTOCOL_MAJOR(kversion) == SNDRV_PROTOCOL_MAJOR(uversion) \
21 && SNDRV_PROTOCOL_MINOR(kversion) != SNDRV_PROTOCOL_MINOR(uversion)))
22
23#define AES_IEC958_STATUS_SIZE 24
24
26
27};
28
30 unsigned int device;
31 int card;
32 unsigned char id[64];
33 unsigned char name[80];
34 int iface;
35};
36
38 unsigned int version;
39 unsigned char id[32];
40 unsigned int num_dsps;
41 unsigned int dsp_loaded;
42 unsigned int chip_ready;
43};
44
46 unsigned int index;
47 unsigned char name[64];
48 unsigned char *image;
49 size_t length;
50};
51
52#define SNDRV_HWDEP_IOCTL_PVERSION _IOR('H', 0x00, int)
53#define SNDRV_HWDEP_IOCTL_INFO _IOR('H', 0x01, struct snd_hwdep_info)
54#define SNDRV_HWDEP_IOCTL_DSP_STATUS _IOR('H', 0x02, struct snd_hwdep_dsp_status)
55#define SNDRV_HWDEP_IOCTL_DSP_LOAD _IOW('H', 0x03, struct snd_hwdep_dsp_image)
56#define SNDRV_UMP_IOCTL_ENDPOINT_INFO _IOR('W', 0x40, struct snd_ump_endpoint_info)
57#define SNDRV_UMP_IOCTL_BLOCK_INFO _IOR('W', 0x41, struct snd_ump_block_info)
58
59// PCM
60
61#define SNDRV_PCM_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 15)
62
63typedef unsigned long snd_pcm_uframes_t;
64typedef signed long snd_pcm_sframes_t;
65
66enum {
70};
71
73#define SNDRV_PCM_ACCESS_MMAP_INTERLEAVED ((snd_pcm_access_t) 0)
74#define SNDRV_PCM_ACCESS_MMAP_NONINTERLEAVED ((snd_pcm_access_t) 1)
75#define SNDRV_PCM_ACCESS_MMAP_COMPLEX ((snd_pcm_access_t) 2)
76#define SNDRV_PCM_ACCESS_RW_INTERLEAVED ((snd_pcm_access_t) 3)
77#define SNDRV_PCM_ACCESS_RW_NONINTERLEAVED ((snd_pcm_access_t) 4)
78#define SNDRV_PCM_ACCESS_LAST SNDRV_PCM_ACCESS_RW_NONINTERLEAVED
79
81#define SNDRV_PCM_FORMAT_S8 ((snd_pcm_format_t) 0)
82#define SNDRV_PCM_FORMAT_U8 ((snd_pcm_format_t) 1)
83#define SNDRV_PCM_FORMAT_S16_LE ((snd_pcm_format_t) 2)
84#define SNDRV_PCM_FORMAT_S16_BE ((snd_pcm_format_t) 3)
85#define SNDRV_PCM_FORMAT_U16_LE ((snd_pcm_format_t) 4)
86#define SNDRV_PCM_FORMAT_U16_BE ((snd_pcm_format_t) 5)
87#define SNDRV_PCM_FORMAT_S24_LE ((snd_pcm_format_t) 6)
88#define SNDRV_PCM_FORMAT_S24_BE ((snd_pcm_format_t) 7)
89#define SNDRV_PCM_FORMAT_U24_LE ((snd_pcm_format_t) 8)
90#define SNDRV_PCM_FORMAT_U24_BE ((snd_pcm_format_t) 9)
91#define SNDRV_PCM_FORMAT_S32_LE ((snd_pcm_format_t) 10)
92#define SNDRV_PCM_FORMAT_S32_BE ((snd_pcm_format_t) 11)
93#define SNDRV_PCM_FORMAT_U32_LE ((snd_pcm_format_t) 12)
94#define SNDRV_PCM_FORMAT_U32_BE ((snd_pcm_format_t) 13)
95#define SNDRV_PCM_FORMAT_FLOAT_LE ((snd_pcm_format_t) 14)
96#define SNDRV_PCM_FORMAT_FLOAT_BE ((snd_pcm_format_t) 15)
97#define SNDRV_PCM_FORMAT_FLOAT64_LE ((snd_pcm_format_t) 16)
98#define SNDRV_PCM_FORMAT_FLOAT64_BE ((snd_pcm_format_t) 17)
99#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE ((snd_pcm_format_t) 18)
100#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE ((snd_pcm_format_t) 19)
101#define SNDRV_PCM_FORMAT_MU_LAW ((snd_pcm_format_t) 20)
102#define SNDRV_PCM_FORMAT_A_LAW ((snd_pcm_format_t) 21)
103#define SNDRV_PCM_FORMAT_IMA_ADPCM ((snd_pcm_format_t) 22)
104#define SNDRV_PCM_FORMAT_MPEG ((snd_pcm_format_t) 23)
105#define SNDRV_PCM_FORMAT_GSM ((snd_pcm_format_t) 24)
106#define SNDRV_PCM_FORMAT_S20_LE ((snd_pcm_format_t) 25)
107#define SNDRV_PCM_FORMAT_S20_BE ((snd_pcm_format_t) 26)
108#define SNDRV_PCM_FORMAT_U20_LE ((snd_pcm_format_t) 27)
109#define SNDRV_PCM_FORMAT_U20_BE ((snd_pcm_format_t) 28)
110#define SNDRV_PCM_FORMAT_SPECIAL ((snd_pcm_format_t) 31)
111#define SNDRV_PCM_FORMAT_S24_3LE ((snd_pcm_format_t) 32)
112#define SNDRV_PCM_FORMAT_S24_3BE ((snd_pcm_format_t) 33)
113#define SNDRV_PCM_FORMAT_U24_3LE ((snd_pcm_format_t) 34)
114#define SNDRV_PCM_FORMAT_U24_3BE ((snd_pcm_format_t) 35)
115#define SNDRV_PCM_FORMAT_S20_3LE ((snd_pcm_format_t) 36)
116#define SNDRV_PCM_FORMAT_S20_3BE ((snd_pcm_format_t) 37)
117#define SNDRV_PCM_FORMAT_U20_3LE ((snd_pcm_format_t) 38)
118#define SNDRV_PCM_FORMAT_U20_3BE ((snd_pcm_format_t) 39)
119#define SNDRV_PCM_FORMAT_S18_3LE ((snd_pcm_format_t) 40)
120#define SNDRV_PCM_FORMAT_S18_3BE ((snd_pcm_format_t) 41)
121#define SNDRV_PCM_FORMAT_U18_3LE ((snd_pcm_format_t) 42)
122#define SNDRV_PCM_FORMAT_U18_3BE ((snd_pcm_format_t) 43)
123#define SNDRV_PCM_FORMAT_G723_24 ((snd_pcm_format_t) 44)
124#define SNDRV_PCM_FORMAT_G723_24_1B ((snd_pcm_format_t) 45)
125#define SNDRV_PCM_FORMAT_G723_40 ((snd_pcm_format_t) 46)
126#define SNDRV_PCM_FORMAT_G723_40_1B ((snd_pcm_format_t) 47)
127#define SNDRV_PCM_FORMAT_DSD_U8 ((snd_pcm_format_t) 48)
128#define SNDRV_PCM_FORMAT_DSD_U16_LE ((snd_pcm_format_t) 49)
129#define SNDRV_PCM_FORMAT_DSD_U32_LE ((snd_pcm_format_t) 50)
130#define SNDRV_PCM_FORMAT_DSD_U16_BE ((snd_pcm_format_t) 51)
131#define SNDRV_PCM_FORMAT_DSD_U32_BE ((snd_pcm_format_t) 52)
132#define SNDRV_PCM_FORMAT_LAST SNDRV_PCM_FORMAT_DSD_U32_BE
133#define SNDRV_PCM_FORMAT_FIRST SNDRV_PCM_FORMAT_S8
134
135#if defined(SNDRV_LITTLE_ENDIAN)
136#define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_LE
137#define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_LE
138#define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_LE
139#define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_LE
140#define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_LE
141#define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_LE
142#define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_LE
143#define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_LE
144#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_LE
145#define SNDRV_PCM_FORMAT_S20 SNDRV_PCM_FORMAT_S20_LE
146#define SNDRV_PCM_FORMAT_U20 SNDRV_PCM_FORMAT_U20_LE
147#elif defined(NDRV_BIG_ENDIAN)
148#define SNDRV_PCM_FORMAT_S16 SNDRV_PCM_FORMAT_S16_BE
149#define SNDRV_PCM_FORMAT_U16 SNDRV_PCM_FORMAT_U16_BE
150#define SNDRV_PCM_FORMAT_S24 SNDRV_PCM_FORMAT_S24_BE
151#define SNDRV_PCM_FORMAT_U24 SNDRV_PCM_FORMAT_U24_BE
152#define SNDRV_PCM_FORMAT_S32 SNDRV_PCM_FORMAT_S32_BE
153#define SNDRV_PCM_FORMAT_U32 SNDRV_PCM_FORMAT_U32_BE
154#define SNDRV_PCM_FORMAT_FLOAT SNDRV_PCM_FORMAT_FLOAT_BE
155#define SNDRV_PCM_FORMAT_FLOAT64 SNDRV_PCM_FORMAT_FLOAT64_BE
156#define SNDRV_PCM_FORMAT_IEC958_SUBFRAME SNDRV_PCM_FORMAT_IEC958_SUBFRAME_BE
157#define SNDRV_PCM_FORMAT_S20 SNDRV_PCM_FORMAT_S20_BE
158#define SNDRV_PCM_FORMAT_U20 SNDRV_PCM_FORMAT_U20_BE
159#endif
160
162#define SNDRV_PCM_SUBFORMAT_STD ((snd_pcm_subformat_t) 0)
163#define SNDRV_PCM_SUBFORMAT_MSBITS_MAX ((snd_pcm_subformat_t) 1)
164#define SNDRV_PCM_SUBFORMAT_MSBITS_20 ((snd_pcm_subformat_t) 2)
165#define SNDRV_PCM_SUBFORMAT_MSBITS_24 ((snd_pcm_subformat_t) 3)
166#define SNDRV_PCM_SUBFORMAT_LAST SNDRV_PCM_SUBFORMAT_MSBITS_24
167
168#define SNDRV_PCM_INFO_MMAP (1 << 0)
169#define SNDRV_PCM_INFO_MMAP_VALID (1 << 1)
170#define SNDRV_PCM_INFO_DOUBLE (1 << 2)
171#define SNDRV_PCM_INFO_BATCH (1 << 4)
172#define SNDRV_PCM_INFO_PERFECT_DRAIN (1 << 6)
173#define SNDRV_PCM_INFO_INTERLEAVED (1 << 8)
174#define SNDRV_PCM_INFO_NONINTERLEAVED (1 << 9)
175#define SNDRV_PCM_INFO_COMPLEX (1 << 10)
176#define SNDRV_PCM_INFO_BLOCK_TRANSFER (1 << 16)
177#define SNDRV_PCM_INFO_OVERRANGE (1 << 17)
178#define SNDRV_PCM_INFO_RESUME (1 << 18)
179#define SNDRV_PCM_INFO_PAUSE (1 << 19)
180#define SNDRV_PCM_INFO_HALF_DUPLEX (1 << 20)
181#define SNDRV_PCM_INFO_JOINT_DUPLEX (1 << 21)
182#define SNDRV_PCM_INFO_SYNC_START (1 << 22)
183#define SNDRV_PCM_INFO_NO_PERIOD_WAKEUP (1 << 23)
184#define SNDRV_PCM_INFO_HAS_WALL_CLOCK (1 << 24)
185#define SNDRV_PCM_INFO_HAS_LINK_ATIME (1 << 24)
186#define SNDRV_PCM_INFO_HAS_LINK_ABSOLUTE_ATIME (1 << 25)
187#define SNDRV_PCM_INFO_HAS_LINK_ESTIMATED_ATIME (1 << 26)
188#define SNDRV_PCM_INFO_HAS_LINK_SYNCHRONIZED_ATIME (1 << 27)
189
191#define SNDRV_PCM_STATE_PREPARED ((snd_pcm_state_t) 2)
192#define SNDRV_PCM_STATE_RUNNING ((snd_pcm_state_t) 3)
193#define SNDRV_PCM_STATE_XRUN ((snd_pcm_state_t) 4)
194#define SNDRV_PCM_STATE_DRAINING ((snd_pcm_state_t) 5)
195#define SNDRV_PCM_STATE_PAUSED ((snd_pcm_state_t) 6)
196#define SNDRV_PCM_STATE_SUSPENDED ((snd_pcm_state_t) 7)
197#define SNDRV_PCM_STATE_DISCONNECTED ((snd_pcm_state_t) 8)
198#define SNDRV_PCM_STATE_LAST SNDRV_PCM_STATE_DISCONNECTED
199
200enum {
203};
204
206 unsigned int device;
207 unsigned int subdevice;
209 int card;
210 unsigned char id[64];
211 unsigned char name[80];
212 unsigned char subname[32];
215 unsigned int subdevices_count;
216 unsigned int subdevices_avail;
217};
218
220#define SNDRV_PCM_HW_PARAM_ACCESS 0
221#define SNDRV_PCM_HW_PARAM_FORMAT 1
222#define SNDRV_PCM_HW_PARAM_SUBFORMAT 2
223#define SNDRV_PCM_HW_PARAM_FIRST_MASK SNDRV_PCM_HW_PARAM_ACCESS
224#define SNDRV_PCM_HW_PARAM_LAST_MASK SNDRV_PCM_HW_PARAM_SUBFORMAT
225
226#define SNDRV_PCM_HW_PARAM_SAMPLE_BITS 8
227#define SNDRV_PCM_HW_PARAM_FRAME_BITS 9
228#define SNDRV_PCM_HW_PARAM_CHANNELS 10
229#define SNDRV_PCM_HW_PARAM_RATE 11
230#define SNDRV_PCM_HW_PARAM_PERIOD_TIME 12
231#define SNDRV_PCM_HW_PARAM_PERIOD_SIZE 13
232#define SNDRV_PCM_HW_PARAM_PERIOD_BYTES 14
233#define SNDRV_PCM_HW_PARAM_PERIODS 15
234#define SNDRV_PCM_HW_PARAM_BUFFER_TIME 16
235#define SNDRV_PCM_HW_PARAM_BUFFER_SIZE 17
236#define SNDRV_PCM_HW_PARAM_BUFFER_BYTES 18
237#define SNDRV_PCM_HW_PARAM_TICK_TIME 19
238#define SNDRV_PCM_HW_PARAM_FIRST_INTERVAL SNDRV_PCM_HW_PARAM_SAMPLE_BITS
239#define SNDRV_PCM_HW_PARAM_LAST_INTERVAL SNDRV_PCM_HW_PARAM_TICK_TIME
240
241#define SNDRV_PCM_HW_PARAMS_NORESAMPLE (1 << 0)
242#define SNDRV_PCM_HW_PARAMS_EXPORT_BUFFER (1 << 1)
243#define SNDRV_PCM_HW_PARAMS_NO_PERIOD_WAKEUP (1 << 2)
244#define SNDRV_PCM_HW_PARAMS_NO_DRAIN_SILENCE (1 << 3)
245
247 unsigned int min, max;
248 unsigned int openmin : 1, openmax : 1, integer : 1, empty : 1;
249};
250
251#define SNDRV_MASK_MAX 256
252struct snd_mask {
254};
255
257 unsigned int flags;
260 unsigned int rmask;
261 unsigned int cmask;
262 unsigned int info;
263 unsigned int msbits;
264 unsigned int rate_num;
265 unsigned int rate_den;
267 unsigned char sync[16];
268};
269
272 unsigned int period_step;
273 unsigned int sleep_min;
281 unsigned int proto;
282 unsigned int tstamp_type;
283 unsigned char reserved[56];
284};
285
287 unsigned int channel;
289 unsigned int first;
290 unsigned int step;
291};
292
293enum {
301};
302
317};
318
323};
324
328};
329
330#define SNDRV_PCM_SYNC_PTR_HWSYNC (1 << 0)
331#define SNDRV_PCM_SYNC_PTR_APPL (1 << 1)
332#define SNDRV_PCM_SYNC_PTR_AVAIL_MIN (1 << 2)
333
335 unsigned int flags;
336 union {
338 } s;
339 union {
340 struct snd_pcm_mmap_control control;
341 } c;
342};
343
344struct snd_xferi {
346 void *buf;
348};
349
350struct snd_xfern {
352 void **bufs;
354};
355
356enum {
361};
362
363enum {
402};
403
404#define SNDRV_PCM_IOCTL_PVERSION _IOR('A', 0x00, int)
405#define SNDRV_PCM_IOCTL_INFO _IOR('A', 0x01, struct snd_pcm_info)
406#define SNDRV_PCM_IOCTL_TSTAMP _IOW('A', 0x02, int)
407#define SNDRV_PCM_IOCTL_TTSTAMP _IOW('A', 0x03, int)
408#define SNDRV_PCM_IOCTL_USER_PVERSION _IOW('A', 0x04, int)
409#define SNDRV_PCM_IOCTL_HW_REFINE _IOWR('A', 0x10, struct snd_pcm_hw_params)
410#define SNDRV_PCM_IOCTL_HW_PARAMS _IOWR('A', 0x11, struct snd_pcm_hw_params)
411#define SNDRV_PCM_IOCTL_HW_FREE _IO('A', 0x12)
412#define SNDRV_PCM_IOCTL_SW_PARAMS _IOWR('A', 0x13, struct snd_pcm_sw_params)
413#define SNDRV_PCM_IOCTL_STATUS _IOR('A', 0x20, struct snd_pcm_status)
414#define SNDRV_PCM_IOCTL_DELAY _IOR('A', 0x21, snd_pcm_sframes_t)
415#define SNDRV_PCM_IOCTL_HWSYNC _IO('A', 0x22)
416#define SNDRV_PCM_IOCTL_SYNC_PTR _IOWR('A', 0x23, struct snd_pcm_sync_ptr)
417#define SNDRV_PCM_IOCTL_STATUS_EXT _IOWR('A', 0x24, struct snd_pcm_status)
418#define SNDRV_PCM_IOCTL_CHANNEL_INFO _IOR('A', 0x32, struct snd_pcm_channel_info)
419#define SNDRV_PCM_IOCTL_PREPARE _IO('A', 0x40)
420#define SNDRV_PCM_IOCTL_RESET _IO('A', 0x41)
421#define SNDRV_PCM_IOCTL_START _IO('A', 0x42)
422#define SNDRV_PCM_IOCTL_DROP _IO('A', 0x43)
423#define SNDRV_PCM_IOCTL_DRAIN _IO('A', 0x44)
424#define SNDRV_PCM_IOCTL_PAUSE _IOW('A', 0x45, int)
425#define SNDRV_PCM_IOCTL_REWIND _IOW('A', 0x46, snd_pcm_uframes_t)
426#define SNDRV_PCM_IOCTL_RESUME _IO('A', 0x47)
427#define SNDRV_PCM_IOCTL_XRUN _IO('A', 0x48)
428#define SNDRV_PCM_IOCTL_FORWARD _IOW('A', 0x49, snd_pcm_uframes_t)
429#define SNDRV_PCM_IOCTL_WRITEI_FRAMES _IOW('A', 0x50, struct snd_xferi)
430#define SNDRV_PCM_IOCTL_READI_FRAMES _IOR('A', 0x51, struct snd_xferi)
431#define SNDRV_PCM_IOCTL_WRITEN_FRAMES _IOW('A', 0x52, struct snd_xfern)
432#define SNDRV_PCM_IOCTL_READN_FRAMES _IOR('A', 0x53, struct snd_xfern)
433#define SNDRV_PCM_IOCTL_LINK _IOW('A', 0x60, int)
434#define SNDRV_PCM_IOCTL_UNLINK _IO('A', 0x61)
435
436// MIDI
437
438#define SNDRV_RAWMIDI_VERSION SNDRV_PROTOCOL_VERSION(2, 0, 5)
439
440#define SNDRV_RAWMIDI_STREAM_OUTPUT (1 << 0)
441#define SNDRV_RAWMIDI_STREAM_INPUT (1 << 1)
442#define SNDRV_RAWMIDI_INFO_UMP (1 << 3)
443
445 unsigned int device;
446 unsigned int subdevice;
448 int card;
449 unsigned int flags;
450 unsigned char id[64];
451 unsigned char name[80];
452 unsigned char subname[32];
453 unsigned int subdevices_count;
454 unsigned int subdevices_avail;
456};
457
458#define SNDRV_RAWMIDI_MODE_FRAMING_MASK (7 << 0)
459#define SNDRV_RAWMIDI_MODE_FRAMING_SHIFT 0
460#define SNDRV_RAWMIDI_MODE_FRAMING_NONE (0 << 0)
461#define SNDRV_RAWMIDI_MODE_FRAMING_TSTAMP (1 << 0)
462#define SNDRV_RAWMIDI_MODE_CLOCK_MASK (7 << 3)
463#define SNDRV_RAWMIDI_MODE_CLOCK_SHIFT 3
464#define SNDRV_RAWMIDI_MODE_CLOCK_NONE (0 << 3)
465#define SNDRV_RAWMIDI_MODE_CLOCK_REALTIME (1 << 3)
466#define SNDRV_RAWMIDI_MODE_CLOCK_MONOTONIC (2 << 3)
467#define SNDRV_RAWMIDI_MODE_CLOCK_MONOTONIC_RAW (3 << 3)
468
472 size_t avail_min;
473 unsigned int no_active_sensing : 1;
474 unsigned int mode;
475 unsigned char reserved[12];
476};
477
478#define SNDRV_RAWMIDI_FRAMING_DATA_LENGTH 16
479
488
492 size_t avail;
493 size_t xruns;
494};
495
497 int card;
499 unsigned int flags;
500 unsigned int protocol_caps;
501 unsigned int protocol;
502 unsigned int num_blocks;
503 unsigned short version;
504 unsigned short family_id;
505 unsigned short model_id;
506 unsigned int manufacturer_id;
507 unsigned char sw_revision[4];
508 unsigned short padding;
509 unsigned char name[128];
510 unsigned product_id[128];
512
514 int card;
516 unsigned char block_id;
517 unsigned char direction;
518 unsigned char active;
519 unsigned char first_group;
520 unsigned char num_groups;
521 unsigned char midi_ci_version;
522 unsigned char sysex8_streams;
523 unsigned char ui_hint;
524 unsigned int flags;
525 unsigned char name[128];
527
528#define SNDRV_RAWMIDI_IOCTL_PVERSION _IOR('W', 0x00, int)
529#define SNDRV_RAWMIDI_IOCTL_INFO _IOR('W', 0x01, struct snd_rawmidi_info)
530#define SNDRV_RAWMIDI_IOCTL_USER_PVERSION _IOW('W', 0x02, int)
531#define SNDRV_RAWMIDI_IOCTL_PARAMS _IOWR('W', 0x10, struct snd_rawmidi_params)
532#define SNDRV_RAWMIDI_IOCTL_STATUS _IOWR('W', 0x20, struct snd_rawmidi_status)
533#define SNDRV_RAWMIDI_IOCTL_DROP _IOW('W', 0x30, int)
534#define SNDRV_RAWMIDI_IOCTL_DRAIN _IOW('W', 0x31, int)
535
536// timer
537
538#define SNDRV_TIMER_FLG_SLAVE (1 << 0)
539
543 int card;
546};
547
550 unsigned int flags;
551 int card;
552 unsigned char id[64];
553 unsigned char name[80];
554 unsigned long reserved0;
555 unsigned long resolution;
556 unsigned long resolution_min;
557 unsigned long resolution_max;
558 unsigned int clients;
559};
560
562
563};
564
566};
567
570};
571
573 unsigned int flags;
574 int card;
575 unsigned char id[64];
576 unsigned char name[80];
577 unsigned long reserved0;
578 unsigned long resolution;
579};
580
581#define SNDRV_TIMER_PSFLG_AUTO (1 << 0)
582#define SNDRV_TIMER_PSFLG_EXCLUSIVE (1 << 1)
583#define SNDRV_TIMER_PSFLG_EARLY_EVENT (1 << 2)
584
586 unsigned int flags;
587 unsigned int ticks;
588 unsigned int queue_size;
589 unsigned int filter;
590};
591
594 unsigned int resolution;
595 unsigned int lost;
596 unsigned int overrun;
597 unsigned int queue;
598};
599
600#define SNDRV_TIMER_IOCTL_PVERSION _IOR('T', 0x00, int)
601#define SNDRV_TIMER_IOCTL_NEXT_DEVICE _IOWR('T', 0x01, struct snd_timer_id)
602#define SNDRV_TIMER_IOCTL_TREAD _IOW('T', 0x02, int)
603#define SNDRV_TIMER_IOCTL_GINFO _IOWR('T', 0x03, struct snd_timer_ginfo)
604#define SNDRV_TIMER_IOCTL_GPARAMS _IOW('T', 0x04, struct snd_timer_gparams)
605#define SNDRV_TIMER_IOCTL_GSTATUS _IOWR('T', 0x05, struct snd_timer_gstatus)
606#define SNDRV_TIMER_IOCTL_SELECT _IOW('T', 0x10, struct snd_timer_select)
607#define SNDRV_TIMER_IOCTL_INFO _IOR('T', 0x11, struct snd_timer_info)
608#define SNDRV_TIMER_IOCTL_PARAMS _IOW('T', 0x12, struct snd_timer_params)
609#define SNDRV_TIMER_IOCTL_STATUS _IOR('T', 0x14, struct snd_timer_status)
610#define SNDRV_TIMER_IOCTL_START _IO('T', 0xa0)
611#define SNDRV_TIMER_IOCTL_STOP _IO('T', 0xa1)
612#define SNDRV_TIMER_IOCTL_CONTINUE _IO('T', 0xa2)
613
615 int card;
616 unsigned char id[16];
617 unsigned char driver[16];
618 unsigned char name[32];
619 unsigned char longname[80];
620 unsigned char mixername[80];
621 unsigned char components[128];
622};
623
625#define SNDRV_CTL_ELEM_TYPE_NONE ((snd_ctl_elem_type_t) 0)
626#define SNDRV_CTL_ELEM_TYPE_BOOLEAN ((snd_ctl_elem_type_t) 1)
627#define SNDRV_CTL_ELEM_TYPE_INTEGER ((snd_ctl_elem_type_t) 2)
628#define SNDRV_CTL_ELEM_TYPE_ENUMERATED ((snd_ctl_elem_type_t) 3)
629#define SNDRV_CTL_ELEM_TYPE_BYTES ((snd_ctl_elem_type_t) 4)
630#define SNDRV_CTL_ELEM_TYPE_INTEGER64 ((snd_ctl_elem_type_t) 6)
631
633#define SNDRV_CTL_ELEM_IFACE_MIXER ((snd_ctl_elem_iface_t) 2)
634
635#define SNDRV_CTL_ELEM_ACCESS_READ (1 << 0)
636#define SNDRV_CTL_ELEM_ACCESS_WRITE (1 << 1)
637#define SNDRV_CTL_ELEM_ACCESS_READWRITE (SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_WRITE)
638#define SNDRV_CTL_ELEM_ACCESS_VOLATILE (1 << 2)
639#define SNDRV_CTL_ELEM_ACCESS_TLV_READ (1 << 4)
640#define SNDRV_CTL_ELEM_ACCESS_TLV_WRITE (1 << 5)
641#define SNDRV_CTL_ELEM_ACCESS_TLV_READWRITE (SNDRV_CTL_ELEM_ACCESS_TLV_READ | SNDRV_CTL_ELEM_ACCESS_TLV_WRITE)
642#define SNDRV_CTL_ELEM_ACCESS_TLV_COMMAND (1 << 6)
643#define SNDRV_CTL_ELEM_ACCESS_INACTIVE (1 << 8)
644#define SNDRV_CTL_ELEM_ACCESS_LOCK (1 << 9)
645#define SNDRV_CTL_ELEM_ACCESS_OWNER (1 << 10)
646#define SNDRV_CTL_ELEM_ACCESS_TLV_CALLBACK (1 << 28)
647#define SNDRV_CTL_ELEM_ACCESS_USER (1 << 29)
648
649#define SNDRV_CTL_ELEM_ID_NAME_MAXLEN 44
650
652 unsigned int numid;
654 unsigned int device;
655 unsigned int subdevice;
657 unsigned int index;
658};
659
661 unsigned int offset;
662 unsigned int space;
663 unsigned int used;
664 unsigned int count;
666};
667
671 unsigned int access;
672 unsigned int count;
674 union {
675 struct {
676 long min;
677 long max;
678 long step;
679 } integer;
680 struct {
681 long long min;
682 long long max;
683 long long step;
684 } integer64;
685 struct {
686 unsigned int items;
687 unsigned int item;
688 char name[64];
690 unsigned int names_length;
691 } enumerated;
693};
694
697 union {
698 union {
699 long value[128];
701 } integer;
702 union {
703 long long value[64];
704 long long *value_ptr;
705 } integer64;
706 union {
707 unsigned int item[128];
708 unsigned int *item_ptr;
709 } enumerated;
710 union {
711 unsigned char data[512];
712 unsigned char *data_ptr;
713 } bytes;
714 struct snd_aes_iec958 iec958;
716};
717
719 unsigned int numid;
720 unsigned int length;
721 unsigned int tlv[];
722};
723
724#define SNDRV_CTL_IOCTL_PVERSION _IOR('U', 0x00, int)
725#define SNDRV_CTL_IOCTL_CARD_INFO _IOR('U', 0x01, struct snd_ctl_card_info)
726#define SNDRV_CTL_IOCTL_ELEM_LIST _IOWR('U', 0x10, struct snd_ctl_elem_list)
727#define SNDRV_CTL_IOCTL_ELEM_INFO _IOWR('U', 0x11, struct snd_ctl_elem_info)
728#define SNDRV_CTL_IOCTL_ELEM_READ _IOWR('U', 0x12, struct snd_ctl_elem_value)
729#define SNDRV_CTL_IOCTL_ELEM_WRITE _IOWR('U', 0x13, struct snd_ctl_elem_value)
730#define SNDRV_CTL_IOCTL_ELEM_LOCK _IOW('U', 0x14, struct snd_ctl_elem_id)
731#define SNDRV_CTL_IOCTL_ELEM_UNLOCK _IOW('U', 0x15, struct snd_ctl_elem_id)
732#define SNDRV_CTL_IOCTL_SUBSCRIBE_EVENTS _IOWR('U', 0x16, int)
733#define SNDRV_CTL_IOCTL_ELEM_ADD _IOWR('U', 0x17, struct snd_ctl_elem_info)
734#define SNDRV_CTL_IOCTL_ELEM_REPLACE _IOWR('U', 0x18, struct snd_ctl_elem_info)
735#define SNDRV_CTL_IOCTL_ELEM_REMOVE _IOWR('U', 0x19, struct snd_ctl_elem_id)
736#define SNDRV_CTL_IOCTL_TLV_READ _IOWR('U', 0x1a, struct snd_ctl_tlv)
737#define SNDRV_CTL_IOCTL_TLV_WRITE _IOWR('U', 0x1b, struct snd_ctl_tlv)
738#define SNDRV_CTL_IOCTL_TLV_COMMAND _IOWR('U', 0x1c, struct snd_ctl_tlv)
739#define SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE _IOWR('U', 0x20, int)
740#define SNDRV_CTL_IOCTL_HWDEP_INFO _IOR('U', 0x21, struct snd_hwdep_info)
741#define SNDRV_CTL_IOCTL_PCM_NEXT_DEVICE _IOR('U', 0x30, int)
742#define SNDRV_CTL_IOCTL_PCM_INFO _IOWR('U', 0x31, struct snd_pcm_info)
743#define SNDRV_CTL_IOCTL_PCM_PREFER_SUBDEVICE _IOW('U', 0x32, int)
744#define SNDRV_CTL_IOCTL_RAWMIDI_NEXT_DEVICE _IOWR('U', 0x40, int)
745#define SNDRV_CTL_IOCTL_RAWMIDI_INFO _IOWR('U', 0x41, struct snd_rawmidi_info)
746#define SNDRV_CTL_IOCTL_RAWMIDI_PREFER_SUBDEVICE _IOW('U', 0x42, int)
747#define SNDRV_CTL_IOCTL_UMP_NEXT_DEVICE _IOWR('U', 0x43, int)
748#define SNDRV_CTL_IOCTL_UMP_ENDPOINT_INFO _IOWR('U', 0x44, struct snd_ump_endpoint_info)
749#define SNDRV_CTL_IOCTL_UMP_BLOCK_INFO _IOWR('U', 0x45, struct snd_ump_block_info)
750#define SNDRV_CTL_IOCTL_POWER _IOWR('U', 0xd0, int)
751#define SNDRV_CTL_IOCTL_POWER_STATE _IOR('U', 0xd1, int)
752
756};
757
758#define SNDRV_CTL_EVENT_MASK_VALUE (1 << 0)
759#define SNDRV_CTL_EVENT_MASK_INFO (1 << 1)
760#define SNDRV_CTL_EVENT_MASK_ADD (1 << 2)
761#define SNDRV_CTL_EVENT_MASK_TLV (1 << 3)
762#define SNDRV_CTL_EVENT_MASK_REMOVE (~0U)
763
765 int type;
766 union {
767 struct {
768 unsigned int mask;
772};
773
774#endif
signed long snd_pcm_sframes_t
Definition asound.h:64
#define SNDRV_PCM_HW_PARAM_LAST_INTERVAL
Definition asound.h:239
#define SNDRV_PCM_HW_PARAM_LAST_MASK
Definition asound.h:224
@ SNDRV_PCM_TSTAMP_TYPE_LAST
Definition asound.h:360
@ SNDRV_PCM_TSTAMP_TYPE_MONOTONIC_RAW
Definition asound.h:359
@ SNDRV_PCM_TSTAMP_TYPE_MONOTONIC
Definition asound.h:358
@ SNDRV_PCM_TSTAMP_TYPE_GETTIMEOFDAY
Definition asound.h:357
#define SNDRV_PCM_HW_PARAM_FIRST_INTERVAL
Definition asound.h:238
@ SNDRV_PCM_AUDIO_TSTAMP_TYPE_COMPAT
Definition asound.h:294
@ SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_SYNCHRONIZED
Definition asound.h:299
@ SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ESTIMATED
Definition asound.h:298
@ SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK
Definition asound.h:296
@ SNDRV_PCM_AUDIO_TSTAMP_TYPE_DEFAULT
Definition asound.h:295
@ SNDRV_PCM_AUDIO_TSTAMP_TYPE_LINK_ABSOLUTE
Definition asound.h:297
@ SNDRV_PCM_AUDIO_TSTAMP_TYPE_LAST
Definition asound.h:300
int __bitwise snd_pcm_access_t
Definition asound.h:72
int snd_pcm_hw_param_t
Definition asound.h:219
int __bitwise snd_pcm_state_t
Definition asound.h:190
#define SNDRV_CTL_ELEM_ID_NAME_MAXLEN
Definition asound.h:649
@ SNDRV_PCM_MMAP_OFFSET_STATUS
Definition asound.h:201
@ SNDRV_PCM_MMAP_OFFSET_CONTROL
Definition asound.h:202
sndrv_ctl_event_type
Definition asound.h:753
@ SNDRV_CTL_EVENT_LAST
Definition asound.h:755
@ SNDRV_CTL_EVENT_ELEM
Definition asound.h:754
int __bitwise snd_ctl_elem_iface_t
Definition asound.h:632
@ SNDRV_PCM_STREAM_PLAYBACK
Definition asound.h:67
@ SNDRV_PCM_STREAM_CAPTURE
Definition asound.h:68
@ SNDRV_PCM_STREAM_LAST
Definition asound.h:69
int __bitwise snd_pcm_subformat_t
Definition asound.h:161
unsigned long snd_pcm_uframes_t
Definition asound.h:63
#define SNDRV_MASK_MAX
Definition asound.h:251
#define SNDRV_PCM_HW_PARAM_FIRST_MASK
Definition asound.h:223
int __bitwise snd_ctl_elem_type_t
Definition asound.h:624
int __bitwise snd_pcm_format_t
Definition asound.h:80
#define SNDRV_RAWMIDI_FRAMING_DATA_LENGTH
Definition asound.h:478
struct snd_rawmidi_framing_tstamp VSF_CAL_PACKED
@ SNDRV_CHMAP_BC
Definition asound.h:398
@ SNDRV_CHMAP_TSL
Definition asound.h:394
@ SNDRV_CHMAP_FRW
Definition asound.h:381
@ SNDRV_CHMAP_TFC
Definition asound.h:388
@ SNDRV_CHMAP_BRC
Definition asound.h:400
@ SNDRV_CHMAP_FCH
Definition asound.h:383
@ SNDRV_CHMAP_TSR
Definition asound.h:395
@ SNDRV_CHMAP_TRC
Definition asound.h:391
@ SNDRV_CHMAP_FC
Definition asound.h:371
@ SNDRV_CHMAP_FRH
Definition asound.h:384
@ SNDRV_CHMAP_RC
Definition asound.h:375
@ SNDRV_CHMAP_LLFE
Definition asound.h:396
@ SNDRV_CHMAP_FL
Definition asound.h:367
@ SNDRV_CHMAP_UNKNOWN
Definition asound.h:364
@ SNDRV_CHMAP_NA
Definition asound.h:365
@ SNDRV_CHMAP_TRR
Definition asound.h:390
@ SNDRV_CHMAP_FLH
Definition asound.h:382
@ SNDRV_CHMAP_FR
Definition asound.h:368
@ SNDRV_CHMAP_MONO
Definition asound.h:366
@ SNDRV_CHMAP_SR
Definition asound.h:374
@ SNDRV_CHMAP_RLFE
Definition asound.h:397
@ SNDRV_CHMAP_SL
Definition asound.h:373
@ SNDRV_CHMAP_TFLC
Definition asound.h:392
@ SNDRV_CHMAP_TFR
Definition asound.h:387
@ SNDRV_CHMAP_TFRC
Definition asound.h:393
@ SNDRV_CHMAP_FLC
Definition asound.h:376
@ SNDRV_CHMAP_RRC
Definition asound.h:379
@ SNDRV_CHMAP_TRL
Definition asound.h:389
@ SNDRV_CHMAP_TC
Definition asound.h:385
@ SNDRV_CHMAP_FRC
Definition asound.h:377
@ SNDRV_CHMAP_FLW
Definition asound.h:380
@ SNDRV_CHMAP_LAST
Definition asound.h:401
@ SNDRV_CHMAP_TFL
Definition asound.h:386
@ SNDRV_CHMAP_RLC
Definition asound.h:378
@ SNDRV_CHMAP_LFE
Definition asound.h:372
@ SNDRV_CHMAP_RR
Definition asound.h:370
@ SNDRV_CHMAP_RL
Definition asound.h:369
@ SNDRV_CHMAP_BLC
Definition asound.h:399
struct ieee80211_ext_chansw_ie data
Definition ieee80211.h:80
off_t __kernel_off_t
Definition types.h:78
#define __bitwise
Definition types.h:30
__u64 u64
Definition types.h:75
uint32_t __u32
Definition types.h:55
uint8_t __u8
Definition types.h:51
uint64_t __u64
Definition types.h:57
pid_t __kernel_pid_t
Definition types.h:79
Definition asound.h:25
Definition asound.h:614
unsigned char mixername[80]
Definition asound.h:620
unsigned char longname[80]
Definition asound.h:619
unsigned char driver[16]
Definition asound.h:617
int card
Definition asound.h:615
unsigned char components[128]
Definition asound.h:621
unsigned char name[32]
Definition asound.h:618
Definition asound.h:651
unsigned char name[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]
Definition asound.h:656
unsigned int device
Definition asound.h:654
unsigned int subdevice
Definition asound.h:655
unsigned int numid
Definition asound.h:652
snd_ctl_elem_iface_t iface
Definition asound.h:653
unsigned int index
Definition asound.h:657
Definition asound.h:668
long max
Definition asound.h:677
snd_ctl_elem_type_t type
Definition asound.h:670
unsigned int item
Definition asound.h:687
unsigned int count
Definition asound.h:672
unsigned int items
Definition asound.h:686
long step
Definition asound.h:678
union snd_ctl_elem_info::@1100 value
long long max
Definition asound.h:682
long long min
Definition asound.h:681
long min
Definition asound.h:676
__kernel_pid_t owner
Definition asound.h:673
struct snd_ctl_elem_id id
Definition asound.h:669
long long step
Definition asound.h:683
unsigned int names_length
Definition asound.h:690
u64 names_ptr
Definition asound.h:689
unsigned int access
Definition asound.h:671
Definition asound.h:660
unsigned int space
Definition asound.h:662
unsigned int count
Definition asound.h:664
unsigned int used
Definition asound.h:663
struct snd_ctl_elem_id * pids
Definition asound.h:665
unsigned int offset
Definition asound.h:661
Definition asound.h:695
long long * value_ptr
Definition asound.h:704
unsigned int * item_ptr
Definition asound.h:708
long value[128]
Definition asound.h:699
unsigned char * data_ptr
Definition asound.h:712
long * value_ptr
Definition asound.h:700
struct snd_ctl_elem_id id
Definition asound.h:696
Definition asound.h:764
struct snd_ctl_elem_id id
Definition asound.h:769
struct snd_ctl_event::@1110::@1111 elem
union snd_ctl_event::@1110 data
int type
Definition asound.h:765
unsigned int mask
Definition asound.h:768
Definition asound.h:718
unsigned int length
Definition asound.h:720
unsigned int numid
Definition asound.h:719
unsigned int tlv[]
Definition asound.h:721
Definition asound.h:45
unsigned char * image
Definition asound.h:48
unsigned char name[64]
Definition asound.h:47
size_t length
Definition asound.h:49
unsigned int index
Definition asound.h:46
Definition asound.h:37
unsigned int version
Definition asound.h:38
unsigned int chip_ready
Definition asound.h:42
unsigned int num_dsps
Definition asound.h:40
unsigned int dsp_loaded
Definition asound.h:41
Definition asound.h:29
int iface
Definition asound.h:34
unsigned char name[80]
Definition asound.h:33
unsigned int device
Definition asound.h:30
int card
Definition asound.h:31
Definition asound.h:246
unsigned int openmin
Definition asound.h:248
unsigned int integer
Definition asound.h:248
unsigned int min
Definition asound.h:247
unsigned int empty
Definition asound.h:248
unsigned int openmax
Definition asound.h:248
unsigned int max
Definition asound.h:247
Definition asound.h:252
__u32 bits[(SNDRV_MASK_MAX+31)/32]
Definition asound.h:253
Definition asound.h:286
unsigned int first
Definition asound.h:289
__kernel_off_t offset
Definition asound.h:288
unsigned int step
Definition asound.h:290
unsigned int channel
Definition asound.h:287
Definition asound.h:256
unsigned int info
Definition asound.h:262
struct snd_mask masks[SNDRV_PCM_HW_PARAM_LAST_MASK - SNDRV_PCM_HW_PARAM_FIRST_MASK+1]
Definition asound.h:258
unsigned int rate_den
Definition asound.h:265
unsigned int flags
Definition asound.h:257
unsigned int msbits
Definition asound.h:263
unsigned char sync[16]
Definition asound.h:267
unsigned int rmask
Definition asound.h:260
unsigned int rate_num
Definition asound.h:264
snd_pcm_uframes_t fifo_size
Definition asound.h:266
unsigned int cmask
Definition asound.h:261
struct snd_interval intervals[SNDRV_PCM_HW_PARAM_LAST_INTERVAL - SNDRV_PCM_HW_PARAM_FIRST_INTERVAL+1]
Definition asound.h:259
Definition asound.h:205
int stream
Definition asound.h:208
unsigned char name[80]
Definition asound.h:211
unsigned int subdevice
Definition asound.h:207
int dev_class
Definition asound.h:213
unsigned int device
Definition asound.h:206
int dev_subclass
Definition asound.h:214
unsigned int subdevices_count
Definition asound.h:215
unsigned char subname[32]
Definition asound.h:212
int card
Definition asound.h:209
unsigned int subdevices_avail
Definition asound.h:216
Definition asound.h:325
snd_pcm_uframes_t appl_ptr
Definition asound.h:326
snd_pcm_uframes_t avail_min
Definition asound.h:327
Definition asound.h:319
snd_pcm_uframes_t hw_ptr
Definition asound.h:321
struct timespec tstamp
Definition asound.h:322
snd_pcm_state_t state
Definition asound.h:320
Definition asound.h:303
snd_pcm_uframes_t hw_ptr
Definition asound.h:308
__u32 audio_tstamp_accuracy
Definition asound.h:316
snd_pcm_uframes_t overrange
Definition asound.h:312
snd_pcm_uframes_t delay
Definition asound.h:309
snd_pcm_uframes_t avail
Definition asound.h:310
snd_pcm_uframes_t appl_ptr
Definition asound.h:307
struct timespec driver_tstamp
Definition asound.h:315
snd_pcm_state_t state
Definition asound.h:304
struct timespec audio_tstamp
Definition asound.h:314
struct timespec tstamp
Definition asound.h:306
snd_pcm_uframes_t avail_max
Definition asound.h:311
__u32 audio_tstamp_data
Definition asound.h:313
struct timespec trigger_tstamp
Definition asound.h:305
Definition asound.h:270
snd_pcm_uframes_t xfer_align
Definition asound.h:275
snd_pcm_uframes_t boundary
Definition asound.h:280
snd_pcm_uframes_t avail_min
Definition asound.h:274
int tstamp_mode
Definition asound.h:271
unsigned char reserved[56]
Definition asound.h:283
unsigned int proto
Definition asound.h:281
snd_pcm_uframes_t stop_threshold
Definition asound.h:277
snd_pcm_uframes_t silence_size
Definition asound.h:279
snd_pcm_uframes_t start_threshold
Definition asound.h:276
unsigned int sleep_min
Definition asound.h:273
unsigned int period_step
Definition asound.h:272
unsigned int tstamp_type
Definition asound.h:282
snd_pcm_uframes_t silence_threshold
Definition asound.h:278
Definition asound.h:334
struct snd_pcm_mmap_status status
Definition asound.h:337
union snd_pcm_sync_ptr::@1097 c
union snd_pcm_sync_ptr::@1096 s
unsigned int flags
Definition asound.h:335
Definition asound.h:480
__u8 frame_type
Definition asound.h:481
__u8 length
Definition asound.h:482
__u8 data[SNDRV_RAWMIDI_FRAMING_DATA_LENGTH]
Definition asound.h:486
__u64 tv_sec
Definition asound.h:485
__u32 tv_nsec
Definition asound.h:484
__u8 reserved[2]
Definition asound.h:483
Definition asound.h:444
unsigned char name[80]
Definition asound.h:451
unsigned int subdevices_count
Definition asound.h:453
int card
Definition asound.h:448
int tied_device
Definition asound.h:455
unsigned int subdevices_avail
Definition asound.h:454
unsigned int subdevice
Definition asound.h:446
unsigned int device
Definition asound.h:445
unsigned int flags
Definition asound.h:449
unsigned char subname[32]
Definition asound.h:452
int stream
Definition asound.h:447
Definition asound.h:469
unsigned char reserved[12]
Definition asound.h:475
size_t avail_min
Definition asound.h:472
unsigned int mode
Definition asound.h:474
unsigned int no_active_sensing
Definition asound.h:473
size_t buffer_size
Definition asound.h:471
int stream
Definition asound.h:470
Definition asound.h:489
struct timespec tstamp
Definition asound.h:491
size_t avail
Definition asound.h:492
int stream
Definition asound.h:490
size_t xruns
Definition asound.h:493
Definition asound.h:548
unsigned int flags
Definition asound.h:550
unsigned long resolution
Definition asound.h:555
unsigned long resolution_max
Definition asound.h:557
struct snd_timer_id tid
Definition asound.h:549
int card
Definition asound.h:551
unsigned int clients
Definition asound.h:558
unsigned long resolution_min
Definition asound.h:556
unsigned char name[80]
Definition asound.h:553
unsigned long reserved0
Definition asound.h:554
Definition asound.h:561
Definition asound.h:565
Definition asound.h:540
int card
Definition asound.h:543
int dev_sclass
Definition asound.h:542
int dev_class
Definition asound.h:541
int device
Definition asound.h:544
int subdevice
Definition asound.h:545
Definition asound.h:572
int card
Definition asound.h:574
unsigned long reserved0
Definition asound.h:577
unsigned char name[80]
Definition asound.h:576
unsigned long resolution
Definition asound.h:578
unsigned int flags
Definition asound.h:573
Definition asound.h:585
unsigned int queue_size
Definition asound.h:588
unsigned int flags
Definition asound.h:586
unsigned int ticks
Definition asound.h:587
unsigned int filter
Definition asound.h:589
Definition asound.h:568
struct snd_timer_id id
Definition asound.h:569
Definition asound.h:592
unsigned int overrun
Definition asound.h:596
unsigned int resolution
Definition asound.h:594
unsigned int queue
Definition asound.h:597
struct timespec tstamp
Definition asound.h:593
unsigned int lost
Definition asound.h:595
Definition asound.h:513
unsigned char ui_hint
Definition asound.h:523
unsigned char num_groups
Definition asound.h:520
unsigned char sysex8_streams
Definition asound.h:522
unsigned char direction
Definition asound.h:517
int card
Definition asound.h:514
unsigned char name[128]
Definition asound.h:525
unsigned char first_group
Definition asound.h:519
unsigned char active
Definition asound.h:518
unsigned char block_id
Definition asound.h:516
unsigned int flags
Definition asound.h:524
unsigned char midi_ci_version
Definition asound.h:521
int device
Definition asound.h:515
Definition asound.h:496
int device
Definition asound.h:498
unsigned int num_blocks
Definition asound.h:502
unsigned int protocol
Definition asound.h:501
unsigned int manufacturer_id
Definition asound.h:506
unsigned char name[128]
Definition asound.h:509
unsigned int protocol_caps
Definition asound.h:500
unsigned int flags
Definition asound.h:499
int card
Definition asound.h:497
unsigned short padding
Definition asound.h:508
unsigned short version
Definition asound.h:503
unsigned short model_id
Definition asound.h:505
unsigned char sw_revision[4]
Definition asound.h:507
unsigned product_id[128]
Definition asound.h:510
unsigned short family_id
Definition asound.h:504
Definition asound.h:344
void * buf
Definition asound.h:346
snd_pcm_uframes_t frames
Definition asound.h:347
snd_pcm_sframes_t result
Definition asound.h:345
Definition asound.h:350
void ** bufs
Definition asound.h:352
snd_pcm_uframes_t frames
Definition asound.h:353
snd_pcm_sframes_t result
Definition asound.h:351
Definition time.h:67
vk_av_control_value_t value
Definition vsf_audio.h:171
Generated from commit: vsfteam/vsf@f33b89f