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/GuardIntervalInserter.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/GuardIntervalInserter.h')
-rw-r--r-- | src/GuardIntervalInserter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GuardIntervalInserter.h b/src/GuardIntervalInserter.h index 7714c1a..02ba72c 100644 --- a/src/GuardIntervalInserter.h +++ b/src/GuardIntervalInserter.h @@ -50,7 +50,7 @@ class GuardIntervalInserter : public ModCodec, public RemoteControllable size_t spacing, size_t nullSize, size_t symSize, - size_t windowOverlap = 0); + size_t& windowOverlap); int process(Buffer* const dataIn, Buffer* dataOut); const char* name() { return "GuardIntervalInserter"; } @@ -71,7 +71,7 @@ class GuardIntervalInserter : public ModCodec, public RemoteControllable size_t d_symSize; mutable std::mutex d_windowMutex; - size_t d_windowOverlap; + size_t& d_windowOverlap; std::vector<float> d_window; }; |