11namespace tracktion {
inline namespace engine
17 : valueToUpdate (valueToUpdate_), filterAmount (filterAmount_)
25 valueToUpdate.
store (lastValue + filterAmount * (msTaken - lastValue),
42 double getSeconds()
const noexcept {
return getTime().
inSeconds(); }
50#if TRACKTION_CHECK_FOR_SLOW_RENDERING
53 RealtimeCheck (
const char* f,
int l,
double maxMillisecs) noexcept
55 end (start + maxMillisecs),
60 ~RealtimeCheck() noexcept
73 #define SCOPED_REALTIME_CHECK const RealtimeCheck JUCE_JOIN_MACRO(__realtimeCheck, __LINE__) (__FILE__, __LINE__, 1.5);
74 #define SCOPED_REALTIME_CHECK_LONGER const RealtimeCheck JUCE_JOIN_MACRO(__realtimeCheck, __LINE__) (__FILE__, __LINE__, 200 / 44.1);
76 #define SCOPED_REALTIME_CHECK
77 #define SCOPED_REALTIME_CHECK_LONGER
static void JUCE_CALLTYPE outputDebugString(const String &text)
String getDescription(const String &returnValueForZeroTime="0") const
double inSeconds() const noexcept
static double getMillisecondCounterHiRes() noexcept
static Time JUCE_CALLTYPE getCurrentTime() noexcept