Home
last modified time | relevance | path

Searched refs:mixeng_real (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/audio/
H A Dmixeng_template.h38 static inline mixeng_real glue (conv_, ET) (IN_T v) in glue()
44 return nv * (2.f / ((mixeng_real)IN_MAX - IN_MIN)); in glue()
46 return (nv - HALF) * (2.f / (mixeng_real)IN_MAX); in glue()
50 return nv / (((mixeng_real)IN_MAX - IN_MIN) / 2.f); in glue()
52 return (nv - HALF) / ((mixeng_real)IN_MAX / 2.f); in glue()
57 static inline IN_T glue (clip_, ET) (mixeng_real v) in glue()
66 return ENDIAN_CONVERT((IN_T)(v * (((mixeng_real)IN_MAX - IN_MIN) / 2.f))); in glue()
68 return ENDIAN_CONVERT((IN_T)((v * ((mixeng_real)IN_MAX / 2.f)) + HALF)); in glue()
H A Dmixeng.h29 typedef float mixeng_real; typedef
30 struct mixeng_volume { int mute; mixeng_real r; mixeng_real l; };
31 struct st_sample { mixeng_real l; mixeng_real r; };
H A Drate_template.h38 mixeng_real t; in NAME()
99 t = (rate->opos & UINT_MAX) / (mixeng_real) UINT_MAX; in NAME()