MCPcopy Create free account
hub / github.com/DISTRHO/Cardinal / d_isDiffHigherThanLimit

Function d_isDiffHigherThanLimit

src/CardinalPlugin.cpp:71–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70template<typename T>
71static inline
72bool d_isDiffHigherThanLimit(const T& v1, const T& v2, const T& limit)
73{
74 return v1 != v2 ? (v1 > v2 ? v1 - v2 : v2 - v1) > limit : false;
75}
76
77#if DISTRHO_PLUGIN_HAS_UI && ! DISTRHO_PLUGIN_WANT_DIRECT_ACCESS
78const char* UI::getBundlePath() const noexcept { return nullptr; }

Callers 1

runFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected