20 #include <base/source/timer.h> 21 #include <public.sdk/source/vst/vstaudioeffect.h> 29 using namespace Steinberg;
30 using namespace Steinberg::Vst;
40 explicit RTProcessor(Steinberg::FUID
const &iControllerUID);
47 virtual RTState *getRTState() = 0;
50 tresult PLUGIN_API initialize(FUnknown *context)
override;
53 tresult PLUGIN_API setActive(TBool state)
override;
56 tresult PLUGIN_API process(ProcessData &data)
override;
59 tresult PLUGIN_API canProcessSampleSize(int32 symbolicSampleSize)
override;
62 tresult PLUGIN_API setState(IBStream *state)
override;
65 tresult PLUGIN_API getState(IBStream *state)
override;
68 tresult PLUGIN_API notify(IMessage *message) SMTG_OVERRIDE;
83 virtual tresult processInputs(ProcessData &data);
107 void enableGUITimer(uint32 iUIFrameRateMs);
119 IPtr<IMessage> allocateMessage()
override;
122 tresult sendMessage(IPtr<IMessage> iMessage)
override;
136 (fProcessor->*fCallback)();
157 #ifdef JAMBA_DEBUG_LOGGING 158 int32 fSymbolicSampleSize = -1;
std::unique_ptr< AutoReleaseTimer > fGUITimer
Definition: RTProcessor.h:149
uint32 fGUIMessageTimerIntervalMs
Definition: RTProcessor.h:115
void onTimer(Timer *timer) override
Definition: RTProcessor.h:134
virtual void sendPendingMessages()
Definition: RTProcessor.h:111
Definition: MessageProducer.h:33
Definition: RTProcessor.h:37
virtual tresult processInputs64Bits(ProcessData &data)
Definition: RTProcessor.h:93
virtual void onGUITimer()
Definition: RTProcessor.h:101
bool fActive
Definition: RTProcessor.h:155
void(RTProcessor::*)() RTProcessorCallback
Definition: RTProcessor.h:125
uint32 fGUITimerIntervalMs
Definition: RTProcessor.h:148
virtual tresult processInputs32Bits(ProcessData &data)
Definition: RTProcessor.h:88
virtual bool canProcess32Bits() const
Definition: RTProcessor.h:73
GUITimerCallback(RTProcessor *iProcessor, RTProcessorCallback iCallback)
Definition: RTProcessor.h:131
virtual bool canProcess64Bits() const
Definition: RTProcessor.h:77
std::unique_ptr< AutoReleaseTimer > fGUIMessageTimer
Definition: RTProcessor.h:153
Definition: RTProcessor.h:128
RTProcessor * fProcessor
Definition: RTProcessor.h:139
RTProcessorCallback fCallback
Definition: RTProcessor.h:140