Lines Matching defs:audioformat
12 struct audioformat { struct
13 struct list_head list;
14 u64 formats; /* ALSA format bits */
15 unsigned int channels; /* # channels */
16 unsigned int fmt_type; /* USB audio format type (1-3) */
17 unsigned int frame_size; /* samples per frame for non-audio */
18 int iface; /* interface number */
19 unsigned char altsetting; /* corresponding alternate setting */
20 unsigned char altset_idx; /* array index of altenate setting */
21 unsigned char attributes; /* corresponding attributes of cs endpoint */
22 unsigned char endpoint; /* endpoint */
23 unsigned char ep_attr; /* endpoint attributes */
24 unsigned char datainterval; /* log_2 of data packet interval */
25 unsigned char protocol; /* UAC_VERSION_1/2/3 */
26 unsigned int maxpacksize; /* max. packet size */
27 unsigned int rates; /* rate bitmasks */
28 unsigned int rate_min, rate_max; /* min/max rates */
29 unsigned int nr_rates; /* number of rate table entries */
30 unsigned int *rate_table; /* rate table */
31 unsigned char clock; /* associated clock */
32 struct snd_pcm_chmap_elem *chmap; /* (optional) channel map */
33 bool dsd_dop; /* add DOP headers in case of DSD samples */
34 bool dsd_bitrev; /* reverse the bits of each DSD sample */
35 bool dsd_raw; /* altsetting is raw DSD */