summaryrefslogtreecommitdiff
path: root/plugins/ZamSynth/ZamSynthPlugin.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ZamSynth/ZamSynthPlugin.hpp')
-rw-r--r--plugins/ZamSynth/ZamSynthPlugin.hpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/plugins/ZamSynth/ZamSynthPlugin.hpp b/plugins/ZamSynth/ZamSynthPlugin.hpp
index dfcb044..cefc33f 100644
--- a/plugins/ZamSynth/ZamSynthPlugin.hpp
+++ b/plugins/ZamSynth/ZamSynthPlugin.hpp
@@ -45,27 +45,27 @@ protected:
// -------------------------------------------------------------------
// Information
- const char* d_getLabel() const noexcept override
+ const char* getLabel() const noexcept override
{
return "ZamSynth";
}
- 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', 'S', 'T', 'H');
}
@@ -73,15 +73,15 @@ protected:
// -------------------------------------------------------------------
// Init
- void d_initParameter(uint32_t index, Parameter& parameter) ;
- void d_initProgramName(uint32_t index, d_string& programName) ;
+ void initParameter(uint32_t index, Parameter& parameter) ;
+ void initProgramName(uint32_t index, String& programName) ;
// -------------------------------------------------------------------
// 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) ;
+ float getParameterValue(uint32_t index) const override;
+ void setParameterValue(uint32_t index, float value) override;
+ void loadProgram(uint32_t index) override;
// -------------------------------------------------------------------
// Process
@@ -104,11 +104,11 @@ protected:
}
float wavetable(float in);
- void d_activate() override;
- void d_run(const float** inputs, float** outputs, uint32_t frames,
+ void activate() override;
+ void run(const float** inputs, float** outputs, uint32_t frames,
const MidiEvent* midievent, uint32_t midicount) override;
- void d_setState(const char* key, const char* value) override;
- void d_initStateKey(unsigned int key, d_string& val) override;
+ void setState(const char* key, const char* value) override;
+ void initStateKey(unsigned int key, String& val) override;
// -------------------------------------------------------------------
private: