Skip to content

Commit

Permalink
Removed superfluous method
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelwillis committed Oct 11, 2018
1 parent 1bc1cd2 commit 0dce759
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions plugins/dragonfly-reverb/DragonflyReverbPlugin.cpp
Expand Up @@ -58,14 +58,6 @@ void DragonflyReverbPlugin::setParameterValue(uint32_t index, float value) {
dsp.setParameterValue(index, value);
}

String DragonflyReverbPlugin::getState(const char* key) const override {
if (std::strcmp(key, "preset") == 0) {
return String(banks[bank].presets[preset].name);
}

return String("");
}

void DragonflyReverbPlugin::setState(const char* key, const char* value) {
if (std::strcmp(key, "preset") == 0) {
for (int b = 0; b < NUM_BANKS; b++) {
Expand Down
1 change: 0 additions & 1 deletion plugins/dragonfly-reverb/DragonflyReverbPlugin.hpp
Expand Up @@ -80,7 +80,6 @@ class DragonflyReverbPlugin : public Plugin
float getParameterValue(uint32_t index) const override;
void setParameterValue(uint32_t index, float value) override;

String getState(const char* key) const override;
void setState(const char* key, const char* value);

// -------------------------------------------------------------------
Expand Down

0 comments on commit 0dce759

Please sign in to comment.