gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

pluginHost.h (699B)


      1 #pragma once
      2 
      3 #include "JuceHeader.h"
      4 
      5 class CommandLinePluginHost final : public AudioProcessorPlayer
      6 {
      7 public:
      8     CommandLinePluginHost();
      9 
     10     CommandLinePluginHost(const CommandLinePluginHost&) = delete;
     11 	CommandLinePluginHost(CommandLinePluginHost&&) = delete;
     12 
     13 	~CommandLinePluginHost() override;
     14 
     15 	CommandLinePluginHost& operator=(const CommandLinePluginHost&) = delete;
     16 	CommandLinePluginHost& operator=(CommandLinePluginHost&&) = delete;
     17 
     18 	bool loadPlugin(const PluginDescription& _plugin);
     19     const AudioPluginFormatManager& getFormatManager() { return m_formatManager; }
     20 
     21 private:
     22     AudioPluginFormatManager m_formatManager;
     23 	std::unique_ptr<AudioPluginInstance> m_pluginInstance;
     24 };