Home
last modified time | relevance | path

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

/Linux-v6.6/sound/usb/misc/
Dua101.c941 const struct uac_format_type_i_discrete_descriptor *fmt_capture; in detect_usb_format() local
946 fmt_capture = find_format_descriptor(ua->intf[INTF_CAPTURE]); in detect_usb_format()
948 if (!fmt_capture || !fmt_playback) in detect_usb_format()
951 switch (fmt_capture->bSubframeSize) { in detect_usb_format()
962 if (fmt_capture->bSubframeSize != fmt_playback->bSubframeSize) { in detect_usb_format()
968 if (fmt_capture->bBitResolution != 24 || in detect_usb_format()
974 ua->rate = combine_triple(fmt_capture->tSamFreq[0]); in detect_usb_format()
995 ua->capture.channels = fmt_capture->bNrChannels; in detect_usb_format()
998 fmt_capture->bSubframeSize * ua->capture.channels; in detect_usb_format()