Lines Matching defs:sample_rate
709 p.sample_rate = f2->sample_rate;
723 f2.sample_rate = p->sample_rate;
814 .sample_rate = 8000,
2264 audiobellsetrate(audio_file_t *file, u_int sample_rate)
2280 ai.play.sample_rate = sample_rate;
2404 /* If audiobell, only sample_rate will be set later. */
2405 ai.play.sample_rate = audio_default.sample_rate;
2412 ai.play.sample_rate = audio_default.sample_rate;
2417 ai.record.sample_rate = audio_default.sample_rate;
2424 ai.play.sample_rate = sc->sc_sound_pparams.sample_rate;
2429 ai.record.sample_rate = sc->sc_sound_rparams.sample_rate;
4495 srcfreq = srcfmt->sample_rate;
4496 dstfreq = dstfmt->sample_rate;
4520 srcbuf->fmt.sample_rate = srcfreq;
5222 frames_per_block = fmt->sample_rate * blktime / 1000;
5310 mixer->blktime_d = mixer->hwbuf.fmt.sample_rate;
5383 mixer->track_fmt.sample_rate = mixer->hwbuf.fmt.sample_rate;
5447 mixer->track_fmt.sample_rate,
6882 cand->sample_rate = audio_select_freq(&query.fmt);
6888 cand->channels, cand->sample_rate);
6897 cand->precision, cand->stride, cand->channels, cand->sample_rate);
6948 if (fmt->sample_rate < q->frequency[0] ||
6949 fmt->sample_rate > q->frequency[1]) {
6954 if (fmt->sample_rate == q->frequency[j])
7008 phwfmt.sample_rate = ai->play.sample_rate;
7015 rhwfmt.sample_rate = ai->record.sample_rate;
7041 phwfmt.sample_rate);
7049 rhwfmt.sample_rate);
7113 ai->play.sample_rate = fmt->sample_rate;
7121 ai->record.sample_rate = fmt->sample_rate;
7129 * ai.{play,record}.sample_rate (R/W)
7273 if (SPECIFIED(pi->sample_rate))
7274 SPRINTF(p, "/%dHz", pi->sample_rate);
7285 if (SPECIFIED(ri->sample_rate))
7286 SPRINTF(p, "/%dHz", ri->sample_rate);
7375 pi->sample_rate);
7388 ri->sample_rate);
7529 if (SPECIFIED(info->sample_rate)) {
7530 if (info->sample_rate < AUDIO_MIN_FREQUENCY)
7532 if (info->sample_rate > AUDIO_MAX_FREQUENCY)
7534 fmt->sample_rate = info->sample_rate;
7820 pi->sample_rate = ptrack->usrbuf.fmt.sample_rate;
7827 pi->sample_rate = sc->sc_sound_pparams.sample_rate;
7834 ri->sample_rate = rtrack->usrbuf.fmt.sample_rate;
7841 ri->sample_rate = sc->sc_sound_rparams.sample_rate;
8018 if (param->sample_rate < f->frequency[0] ||
8019 param->sample_rate > f->frequency[1])
8023 if (param->sample_rate == f->frequency[j])
8300 fmt->channels, fmt->sample_rate);