diff options
author | falkTX <falktx@gmail.com> | 2015-06-13 17:17:20 +0200 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2015-06-13 17:17:20 +0200 |
commit | 7a3210e063620e54ca6f2dbef6c49188a6fd0a88 (patch) | |
tree | c094db906b8e1d52c552cb0158a82ce58272508f /plugins/ZamComp/ZamCompPlugin.hpp | |
parent | f90ae6effcc933e55afebf601ea8f876598e69a2 (diff) |
Update ZamComp to new DPF
Diffstat (limited to 'plugins/ZamComp/ZamCompPlugin.hpp')
-rw-r--r-- | plugins/ZamComp/ZamCompPlugin.hpp | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/plugins/ZamComp/ZamCompPlugin.hpp b/plugins/ZamComp/ZamCompPlugin.hpp index acbaf98..a1698b0 100644 --- a/plugins/ZamComp/ZamCompPlugin.hpp +++ b/plugins/ZamComp/ZamCompPlugin.hpp @@ -46,27 +46,27 @@ protected: // ------------------------------------------------------------------- // Information - const char* d_getLabel() const noexcept override + const char* getLabel() const noexcept override { return "ZamComp"; } - const char* d_getMaker() const noexcept override + const char* getMaker() const noexcept override { return "Damien Zammit"; } - const char* d_getLicense() const noexcept override + const char* getLicense() const noexcept override { return "GPL v2+"; } - uint32_t d_getVersion() const noexcept override + uint32_t getVersion() const noexcept override { return 0x1000; } - int64_t d_getUniqueId() const noexcept override + int64_t getUniqueId() const noexcept override { return d_cconst('Z', 'C', 'M', 'P'); } @@ -74,16 +74,15 @@ protected: // ------------------------------------------------------------------- // Init - void d_initParameter(uint32_t index, Parameter& parameter) override; - void d_initProgramName(uint32_t index, d_string& programName) override; + void initParameter(uint32_t index, Parameter& parameter) override; + void initProgramName(uint32_t index, String& programName) override; // ------------------------------------------------------------------- // Internal data - float d_getParameterValue(uint32_t index) const override; - void d_setParameterValue(uint32_t index, float value) override; - void d_setProgram(uint32_t index) override; - void loadProgram(uint32_t index); + float getParameterValue(uint32_t index) const override; + void setParameterValue(uint32_t index, float value) override; + void loadProgram(uint32_t index) override; // ------------------------------------------------------------------- // Process @@ -105,8 +104,8 @@ protected: return (20.f*log10(g)); } - void d_activate() override; - void d_run(const float** inputs, float** outputs, uint32_t frames) override; + void activate() override; + void run(const float** inputs, float** outputs, uint32_t frames) override; // ------------------------------------------------------------------- |