• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/usb/misc/

Lines Matching refs:capture

103 	/* FIFO to synchronize playback rate to capture rate */
132 } capture, playback;
273 * Synchronizing the playback rate to the capture rate is done by using
276 * the size of the corresponding capture packet, i.e., both playback
277 * and capture URBs must have been completed. Since the USB core does
278 * not guarantee that playback and capture complete callbacks are
360 struct ua101_stream *stream = &ua->capture;
502 kill_stream_urbs(&ua->capture);
517 kill_stream_urbs(&ua->capture);
524 ua->capture.urbs[0]->urb.complete = first_capture_urb_complete;
529 err = submit_stream_urbs(ua, &ua->capture);
613 snd_pcm_stop(ua->capture.substream, SNDRV_PCM_STATE_XRUN);
660 ua->capture.substream = substream;
661 err = set_stream_hw(ua, substream, ua->capture.channels);
794 ua->capture.period_pos = 0;
795 ua->capture.buffer_pos = 0;
879 return ua101_pcm_pointer(ua, &ua->capture);
992 "playback/capture sample widths do not match\n");
1006 "playback/capture rates do not match: %u/%u\n",
1023 ua->capture.channels = fmt_capture->bNrChannels;
1025 ua->capture.frame_bytes =
1026 fmt_capture->bSubframeSize * ua->capture.channels;
1032 dev_err(&ua->dev->dev, "invalid capture endpoint\n");
1035 ua->capture.usb_pipe = usb_rcvisocpipe(ua->dev, usb_endpoint_num(epd));
1036 ua->capture.max_packet_bytes = le16_to_cpu(epd->wMaxPacketSize);
1156 free_stream_urbs(&ua->capture);
1158 free_stream_buffers(ua, &ua->capture);
1278 err = alloc_stream_buffers(ua, &ua->capture);
1285 err = alloc_stream_urbs(ua, &ua->capture, capture_urb_complete);