Lines Matching defs:snd_usb_substream

146 struct snd_usb_substream {  struct
147 struct snd_usb_stream *stream;
148 struct usb_device *dev;
149 struct snd_pcm_substream *pcm_substream;
150 int direction; /* playback or capture */
151 int endpoint; /* assigned endpoint */
152 const struct audioformat *cur_audiofmt; /* current audioformat pointer (for hw_params callback) */
153 struct snd_usb_power_domain *str_pd; /* UAC3 Power Domain for streaming path */
154 unsigned int channels_max; /* max channels in the all audiofmts */
155 unsigned int txfr_quirk:1; /* allow sub-frame alignment */
156 unsigned int tx_length_quirk:1; /* add length specifier to transfers */
157 unsigned int fmt_type; /* USB audio format type (1-3) */
158 …igned int pkt_offset_adj; /* Bytes to drop from beginning of packets (for non-compliant devices) */
159 …ned int stream_offset_adj; /* Bytes to drop from beginning of stream (for non-compliant devices) */
161 unsigned int running: 1; /* running status */
162 unsigned int period_elapsed_pending; /* delay period handling */
164 unsigned int buffer_bytes; /* buffer size in bytes */
165 unsigned int inflight_bytes; /* in-flight data bytes on buffer (for playback) */
166 unsigned int hwptr_done; /* processed byte position in the buffer */
167 unsigned int transfer_done; /* processed frames since last period update */
168 unsigned int frame_limit; /* limits number of packets in URB */
171 unsigned int ep_num; /* the endpoint number */
172 struct snd_usb_endpoint *data_endpoint;
173 struct snd_usb_endpoint *sync_endpoint;
174 unsigned long flags;
175 unsigned int speed; /* USB_SPEED_XXX */
200 struct snd_usb_substream substream[2]; argument