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 fmt_bits; /* number of significant bits */
18 unsigned int frame_size; /* samples per frame for non-audio */
19 int iface; /* interface number */
20 unsigned char altsetting; /* corresponding alternate setting */
21 unsigned char altset_idx; /* array index of altenate setting */
22 unsigned char attributes; /* corresponding attributes of cs endpoint */
23 unsigned char endpoint; /* endpoint */
24 unsigned char ep_attr; /* endpoint attributes */
25 unsigned char datainterval; /* log_2 of data packet interval */
26 unsigned char protocol; /* UAC_VERSION_1/2/3 */
27 unsigned int maxpacksize; /* max. packet size */
28 unsigned int rates; /* rate bitmasks */
29 unsigned int rate_min, rate_max; /* min/max rates */
30 unsigned int nr_rates; /* number of rate table entries */
31 unsigned int *rate_table; /* rate table */
32 unsigned char clock; /* associated clock */
33 struct snd_pcm_chmap_elem *chmap; /* (optional) channel map */
34 bool dsd_dop; /* add DOP headers in case of DSD samples */
35 bool dsd_bitrev; /* reverse the bits of each DSD sample */
36 bool dsd_raw; /* altsetting is raw DSD */