From 415c6de26b164aad462c9051451cb0b324ac2ffc Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 18 Sep 2015 11:53:03 +0200 Subject: Keep FIR filtertaps after modulator restart --- src/FIRFilter.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/FIRFilter.h') diff --git a/src/FIRFilter.h b/src/FIRFilter.h index 28b2f4a..af6cc5e 100644 --- a/src/FIRFilter.h +++ b/src/FIRFilter.h @@ -99,7 +99,7 @@ class FIRFilterWorker { class FIRFilter : public ModCodec, public RemoteControllable { public: - FIRFilter(std::string taps_file); + FIRFilter(std::string& taps_file); virtual ~FIRFilter(); FIRFilter(const FIRFilter&); FIRFilter& operator=(const FIRFilter&); @@ -116,9 +116,9 @@ public: protected: - void load_filter_taps(); + void load_filter_taps(std::string tapsFile); - std::string myTapsFile; + std::string& myTapsFile; int myNtaps; float* myFilter; -- cgit v1.2.3