#if!defined SIMPLEHELPERS_HPP #define SIMPLEHELPERS_HPP #include #include static inline float getInputValue(rack::Input const& input, float const inactiveValue = 0.f) { return input.active ? input.value : inactiveValue; } #endif