• Home
  • Raw
  • Download

Lines Matching full:rates

165 	fp->rates = rate_bits;  in set_fixed_rate()
171 * parse the format descriptor and stores the possible sample rates
230 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in parse_audio_format_rates_v1()
234 hwc_debug("All rates were zero. Skipping format!\n"); in parse_audio_format_rates_v1()
238 /* continuous rates */ in parse_audio_format_rates_v1()
239 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_audio_format_rates_v1()
257 * rates per altsetting but reports the full set each time.
258 * If we don't filter out the unsupported rates and attempt
262 * The list of supported rates per altsetting (set of available
285 * Many Focusrite devices supports a limited set of sampling rates per
333 * get to know how many sample rates we have to expect.
342 fp->rates = fp->rate_min = fp->rate_max = 0; in parse_uac2_sample_rate_range()
361 fp->rates = SNDRV_PCM_RATE_CONTINUOUS; in parse_uac2_sample_rate_range()
367 /* Filter out invalid rates on Presonus Studio 1810c */ in parse_uac2_sample_rate_range()
372 /* Filter out invalid rates on Focusrite devices */ in parse_uac2_sample_rate_range()
383 fp->rates |= snd_pcm_rate_to_rate_bit(rate); in parse_uac2_sample_rate_range()
387 usb_audio_err(chip, "invalid uac2 rates\n"); in parse_uac2_sample_rate_range()
403 * clock rates.
426 * parse the format descriptor and stores the possible sample rates
444 /* get the number of sample rates first by only fetching 2 bytes */ in parse_audio_format_rates_v2v3()
457 "%s(): unable to retrieve number of sample rates (clock %d)\n", in parse_audio_format_rates_v2v3()
463 "%s(): unable to retrieve number of sample rates: set it to a predefined value (clock %d).\n", in parse_audio_format_rates_v2v3()
495 * We just use the return value to know how many sample rates we in parse_audio_format_rates_v2v3()
514 * allocated, so the rates will be stored */ in parse_audio_format_rates_v2v3()
574 /* gather possible sample rates */ in parse_audio_format_i()
575 /* audio class v1 reports possible sample rates as part of the in parse_audio_format_i()
642 ret = parse_audio_format_rates_v1(chip, fp, _fmt, 8); /* fmt[8..] sample rates */ in parse_audio_format_ii()
686 /* extigy apparently supports sample rates other than 48k in snd_usb_parse_audio_format()
693 fp->rates != SNDRV_PCM_RATE_48000 && in snd_usb_parse_audio_format()
694 fp->rates != SNDRV_PCM_RATE_96000) in snd_usb_parse_audio_format()