Initial VST FilePresenter implementation

This commit is contained in:
Jack Andersen
2016-06-11 18:52:40 -10:00
parent 6f538dc19c
commit e4ae1f1f88
9 changed files with 796 additions and 18 deletions

View File

@@ -31,6 +31,7 @@ class VSTBackend : public AudioEffectX
std::experimental::optional<amuse::VSTBackendVoiceAllocator> m_voxAlloc;
std::experimental::optional<amuse::Engine> m_engine;
size_t m_curFrame = 0;
std::wstring m_userDir;
VSTEditor m_editor;
public:
VSTBackend(audioMasterCallback cb);
@@ -48,6 +49,9 @@ public:
VstInt32 getNumMidiInputChannels();
void setSampleRate(float sampleRate);
void setBlockSize(VstInt32 blockSize);
amuse::Engine& getAmuseEngine() {return *m_engine;}
const std::wstring& getUserDir() const {return m_userDir;}
};
}