aboutsummaryrefslogtreecommitdiffstats
path: root/src/FIRFilter.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-08-07 11:29:47 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-08-07 11:29:47 +0200
commitb6e9577aaed919975f32ee1a5a9821668089f2db (patch)
tree18d3c0ebdc5db92a7caa5931c8171787932f333c /src/FIRFilter.h
parente68fa7c6cb9a718ec16cf849e5885e1ca9b3cf3d (diff)
downloaddabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.tar.gz
dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.tar.bz2
dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.zip
Keep RC-modified settings across modulator restarts
Diffstat (limited to 'src/FIRFilter.h')
-rw-r--r--src/FIRFilter.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FIRFilter.h b/src/FIRFilter.h
index e03321a..8d2e707 100644
--- a/src/FIRFilter.h
+++ b/src/FIRFilter.h
@@ -51,7 +51,7 @@ typedef std::complex<float> complexf;
class FIRFilter : public PipelinedModCodec, public RemoteControllable
{
public:
- FIRFilter(const std::string& taps_file);
+ FIRFilter(std::string& taps_file);
FIRFilter(const FIRFilter& other) = delete;
FIRFilter& operator=(const FIRFilter& other) = delete;
virtual ~FIRFilter();
@@ -69,7 +69,7 @@ protected:
virtual int internal_process(Buffer* const dataIn, Buffer* dataOut) override;
void load_filter_taps(const std::string &tapsFile);
- std::string m_taps_file;
+ std::string& m_taps_file;
mutable std::mutex m_taps_mutex;
std::vector<float> m_taps;