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