Lines Matching refs:rate
57 int rate = 22050;
78 return (long long)((frames * 1000000LL) + (rate / 2)) / rate;
134 rrate = rate;
137 printf("Rate %iHz not available for %s: %s\n", rate, id, snd_strerror(err));
140 if ((int)rrate != rate) {
141 printf("Rate doesn't match (requested %iHz, get %iHz)\n", rate, err);
226 snd_pcm_hw_params_t *pt_params, *ct_params; /* templates with rate, format and channels */
339 d = (double)latency / (double)rate;
348 d = (double)in_max / (double)rate;
527 "-r,--rate rate\n"
569 {"rate", 1, NULL, 'r'},
633 rate = err >= 4000 && err < 200000 ? err : 44100;
684 loop_limit = loop_sec * rate;
699 rate, snd_pcm_format_name(format),
721 fs = (float) rate;