|
LMMS
|
#include <ivstaudioprocessor.h>
Public Types | |
| enum | Flags { kNeedSystemTime = 1 << 0 , kNeedContinousTimeSamples = 1 << 1 , kNeedProjectTimeMusic = 1 << 2 , kNeedBarPositionMusic = 1 << 3 , kNeedCycleMusic = 1 << 4 , kNeedSamplesToNextClock = 1 << 5 , kNeedTempo = 1 << 6 , kNeedTimeSignature = 1 << 7 , kNeedChord = 1 << 8 , kNeedFrameRate = 1 << 9 , kNeedTransportState = 1 << 10 } |
Public Member Functions | |
| virtual uint32 PLUGIN_API | getProcessContextRequirements ()=0 |
| Public Member Functions inherited from Steinberg::FUnknown | |
| virtual tresult PLUGIN_API | queryInterface (const TUID _iid, void **obj)=0 |
| virtual uint32 PLUGIN_API | addRef ()=0 |
| virtual uint32 PLUGIN_API | release ()=0 |
Static Public Attributes | |
| static const FUID | iid |
| Static Public Attributes inherited from Steinberg::FUnknown | |
| static const FUID | iid |
Extended IAudioProcessor interface for a component: Vst::IProcessContextRequirements
To get accurate process context information (Vst::ProcessContext), it is now required to implement this interface and return the desired bit mask of flags which your audio effect needs. If you do not implement this interface, you may not get any information at all of the process function␓.
The host asks for this information once between initialize and setActive. It cannot be changed afterwards.
This gives the host the opportunity to better optimize the audio process graph when it knows which plug-ins need which information.
Plug-Ins built with an earlier SDK version (< 3.7) will still get the old information, but the information may not be as accurate as when using this interface.
|
pure virtual |