diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-09-26 18:42:11 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2023-09-26 18:42:11 +0300 |
commit | 8f0147f9d37509306e8b045cf85e95db3fa6390d (patch) | |
tree | 47770106a7a8096e9109480d374937fd278e532b /evdev.h | |
parent | 72c38b3e2c140aab10af4ba21283e18819e1dddf (diff) | |
download | applause2-8f0147f9d37509306e8b045cf85e95db3fa6390d.tar.gz |
Stream:evrel(): scale output values only once per event
* The old implementation would require scaling operations at sample rate, even though
the value changes only very seldom.
* We are working with fractions, so we don't actually need to store the unscaled value in the closure.
Diffstat (limited to 'evdev.h')
0 files changed, 0 insertions, 0 deletions