|
LMMS
|
#include "CarlaDefines.h"#include "CarlaMathUtils.hpp"#include "CarlaNativeExtUI.hpp"#include "water/maths/MathsFunctions.h"Classes | |
| class | BigMeterPlugin |
| struct | BigMeterPlugin::InlineDisplay |
Functions | |
| CARLA_API_EXPORT void | carla_register_native_plugin_bigmeter () |
| int | roundToIntAccurate (double value) noexcept |
Variables | |
| static const NativePluginDescriptor | bigmeterDesc |
| CARLA_API_EXPORT void carla_register_native_plugin_bigmeter | ( | void | ) |
|
inlinenoexcept |
Fast floating-point-to-integer conversion.
This is a slightly slower and slightly more accurate version of roundDoubleToInt(). It works fine for values above zero, but negative numbers are rounded the wrong way.
|
static |