summaryrefslogtreecommitdiffstats
path: root/src/ModPlugin.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-14 07:10:35 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-14 07:10:35 +0100
commitd929ecf1e0196161acb5a106761e8fad7040e9d3 (patch)
treebb845782b679cabc4475a66a727145d949905a78 /src/ModPlugin.h
parentb48fb779024138a760b5c6309d097b712d2bb853 (diff)
downloaddabmod-d929ecf1e0196161acb5a106761e8fad7040e9d3.tar.gz
dabmod-d929ecf1e0196161acb5a106761e8fad7040e9d3.tar.bz2
dabmod-d929ecf1e0196161acb5a106761e8fad7040e9d3.zip
Make ~PipelinedModcodec virtual, simplify GainControl and FIRFilter declarations
Diffstat (limited to 'src/ModPlugin.h')
-rw-r--r--src/ModPlugin.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ModPlugin.h b/src/ModPlugin.h
index c0f1c1a..5635fca 100644
--- a/src/ModPlugin.h
+++ b/src/ModPlugin.h
@@ -65,6 +65,7 @@ public:
std::vector<Buffer*> dataIn,
std::vector<Buffer*> dataOut) = 0;
virtual const char* name() = 0;
+ virtual ~ModPlugin() = default;
};
/* Inputs are sources, the output buffers without reading any */
@@ -99,7 +100,7 @@ public:
PipelinedModCodec& operator=(const PipelinedModCodec&) = delete;
PipelinedModCodec(PipelinedModCodec&&) = delete;
PipelinedModCodec& operator=(PipelinedModCodec&&) = delete;
- ~PipelinedModCodec();
+ virtual ~PipelinedModCodec();
virtual int process(Buffer* const dataIn, Buffer* dataOut) final;
virtual const char* name() = 0;