Home
last modified time | relevance | path

Searched refs:opos_inc (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/audio/
H A Dmixeng.c407 uint64_t opos_inc; member
422 rate->opos_inc = ((uint64_t) inrate << 32) / outrate; in st_rate_start()
461 if (rate->opos_inc == 1ULL << 32) { in st_rate_frames_out()
475 if (opos_end + rate->opos_inc <= rate->opos) { in st_rate_frames_out()
478 opos_delta = opos_end - rate->opos + rate->opos_inc; in st_rate_frames_out()
479 frames_out = opos_delta / rate->opos_inc; in st_rate_frames_out()
481 return opos_delta % rate->opos_inc ? frames_out : frames_out - 1; in st_rate_frames_out()
500 if (rate->opos_inc == 1ULL << 32) { in st_rate_frames_in()
511 offset = (rate->opos_inc + (1ULL << 32) - 1) & ~((1ULL << 32) - 1); in st_rate_frames_in()
516 opos_end = opos_start - rate->opos_inc + rate->opos_inc * frames_out; in st_rate_frames_in()
H A Drate_template.h49 if (rate->opos_inc == (1ULL + UINT_MAX)) { in NAME()
113 rate->opos += rate->opos_inc; in NAME()