From b6e9577aaed919975f32ee1a5a9821668089f2db Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 7 Aug 2018 11:29:47 +0200 Subject: Keep RC-modified settings across modulator restarts --- src/MemlessPoly.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/MemlessPoly.h') diff --git a/src/MemlessPoly.h b/src/MemlessPoly.h index c9d4f56..43fdb2d 100644 --- a/src/MemlessPoly.h +++ b/src/MemlessPoly.h @@ -58,7 +58,7 @@ enum class dpd_type_t { class MemlessPoly : public PipelinedModCodec, public RemoteControllable { public: - MemlessPoly(const std::string& coefs_file, unsigned int num_threads); + MemlessPoly(std::string& coefs_file, unsigned int num_threads); MemlessPoly(const MemlessPoly& other) = delete; MemlessPoly& operator=(const MemlessPoly& other) = delete; virtual ~MemlessPoly(); @@ -136,7 +136,7 @@ private: static constexpr size_t lut_entries = 32; std::array m_lut; // Lookup table correction factors - std::string m_coefs_file; + std::string& m_coefs_file; mutable std::mutex m_coefs_mutex; }; -- cgit v1.2.3