diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-08-07 11:29:47 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-08-07 11:29:47 +0200 |
commit | b6e9577aaed919975f32ee1a5a9821668089f2db (patch) | |
tree | 18d3c0ebdc5db92a7caa5931c8171787932f333c /src/MemlessPoly.h | |
parent | e68fa7c6cb9a718ec16cf849e5885e1ca9b3cf3d (diff) | |
download | dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.tar.gz dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.tar.bz2 dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.zip |
Keep RC-modified settings across modulator restarts
Diffstat (limited to 'src/MemlessPoly.h')
-rw-r--r-- | src/MemlessPoly.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<complexf, lut_entries> m_lut; // Lookup table correction factors - std::string m_coefs_file; + std::string& m_coefs_file; mutable std::mutex m_coefs_mutex; }; |