Lines Matching defs:rate
95 static int uaudio_default_rate = 0; /* use rate list */
109 &uaudio_default_rate, 0, "uaudio default sample rate");
1108 0, "Feedback sample rate in Hz");
1233 * Only set the sample rate if the channel reports that it
1261 DPRINTF("setting of sample rate failed! "
1272 DPRINTF("setting of sample rate failed! "
1304 /* setup data rate dithering, if any */
1412 * sample rate indicates, we apply the workaround.
1436 uint8_t clockid, uint32_t rate)
1445 DPRINTFN(6, "ifaceno=%d clockid=%d rate=%u\n",
1446 iface_no, clockid, rate);
1486 if (rate >= min && rate <= max &&
1487 (((rate - min) % res) == 0)) {
1496 uint32_t rate, uint8_t channels, uint8_t bit_resolution)
1749 sc->sc_mixer_iface_no, x, rate)) {
1751 "rate, id=%d\n", x);
1763 DPRINTFN(16, "Sample rate: %d-%dHz\n",
1767 if ((rate >= UA_SAMP_LO(asf1d.v1)) &&
1768 (rate <= UA_SAMP_HI(asf1d.v1)))
1773 DPRINTFN(16, "Sample rate = %dHz\n",
1776 if (rate == UA_GETSAMP(asf1d.v1, x))
1820 DPRINTF("Sample rate = %dHz, channels = %d, "
1821 "bits = %d, format = %s\n", rate, channels,
1824 chan_alt->sample_rate = rate;
1844 chan_alt->sample_size * (rate / 1000),
1845 chan_alt->sample_size * (rate / 4000));
1883 /* ignore if duplicate sample rate entry */
1884 if (rate == chan->usb_alt[chan->num_alt - 2].sample_rate) {
1885 DPRINTF("Duplicate sample rate detected\n");
1897 if (rate < chan->pcm_cap.minspeed || chan->pcm_cap.minspeed == 0)
1898 chan->pcm_cap.minspeed = rate;
1899 if (rate > chan->pcm_cap.maxspeed || chan->pcm_cap.maxspeed == 0)
1900 chan->pcm_cap.maxspeed = rate;
1908 p_fmt->description, rate);
1946 uint32_t rate = uaudio_default_rate;
1985 /* try user defined rate, if any */
1986 if (rate != 0)
1987 uaudio_chan_fill_info_sub(sc, udev, rate, x, y);
1989 /* try find a matching rate, if any */
2461 /* sample rate is too low */