Home
last modified time | relevance | path

Searched refs:fmt_capture (Results 1 – 1 of 1) sorted by relevance

/sound/usb/misc/
Dua101.c942 const struct uac_format_type_i_discrete_descriptor *fmt_capture; in detect_usb_format() local
947 fmt_capture = find_format_descriptor(ua->intf[INTF_CAPTURE]); in detect_usb_format()
949 if (!fmt_capture || !fmt_playback) in detect_usb_format()
952 switch (fmt_capture->bSubframeSize) { in detect_usb_format()
963 if (fmt_capture->bSubframeSize != fmt_playback->bSubframeSize) { in detect_usb_format()
969 if (fmt_capture->bBitResolution != 24 || in detect_usb_format()
975 ua->rate = combine_triple(fmt_capture->tSamFreq[0]); in detect_usb_format()
996 ua->capture.channels = fmt_capture->bNrChannels; in detect_usb_format()
999 fmt_capture->bSubframeSize * ua->capture.channels; in detect_usb_format()