Lines Matching defs:rate
40 uint32_t rate; /* sampling rate */
204 * feeder_build_rate(): Chain sample rate converter.
260 ret = FEEDER_SET(f, FEEDRATE_SRC, cdesc->current.rate);
263 "%s(): can't set source rate\n", __func__);
267 ret = FEEDER_SET(f, FEEDRATE_DST, cdesc->target.rate);
270 "%s(): can't set destination rate\n", __func__);
276 cdesc->current.rate = cdesc->target.rate;
446 ret = FEEDER_SET(f, FEEDEQ_RATE, cdesc->current.rate);
449 "%s(): can't set rate on feeder_eq\n", __func__);
530 #define FEEDER_BW(c, t) ((c)->t.matrix->channels * (c)->t.rate)
532 #define FEEDRATE_UP(c) ((c)->target.rate > (c)->current.rate)
533 #define FEEDRATE_DOWN(c) ((c)->target.rate < (c)->current.rate)
548 #define FEEDEQ_VALIDRATE(c, t) (feeder_eq_validrate((c)->t.rate) != 0)
695 cdesc.origin.rate = c->speed;
698 cdesc.target.rate = sndbuf_getspd(c->bufhard);
702 cdesc.origin.rate = sndbuf_getspd(c->bufhard);
705 cdesc.target.rate = c->speed;
721 c->speed = cdesc.target.rate;
789 * 3) Avoid volume, format, matrix and rate in BITPERFECT or
791 * 4) Try putting volume before EQ or rate. Should help to
793 * 5) EQ require specific, valid rate, unless it allow sloppy
802 FEEDER_BUILD(rate);
817 FEEDER_BUILD(rate);
828 FEEDER_BUILD(rate);
838 FEEDER_BUILD(rate);