summaryrefslogtreecommitdiffstats
path: root/src/GuardIntervalInserter.cpp
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/GuardIntervalInserter.cpp
parente68fa7c6cb9a718ec16cf849e5885e1ca9b3cf3d (diff)
downloaddabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.tar.gz
dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.tar.bz2
dabmod-b6e9577aaed919975f32ee1a5a9821668089f2db.zip
Keep RC-modified settings across modulator restarts
Diffstat (limited to 'src/GuardIntervalInserter.cpp')
-rw-r--r--src/GuardIntervalInserter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GuardIntervalInserter.cpp b/src/GuardIntervalInserter.cpp
index 79692f5..6e1df4f 100644
--- a/src/GuardIntervalInserter.cpp
+++ b/src/GuardIntervalInserter.cpp
@@ -38,14 +38,14 @@ GuardIntervalInserter::GuardIntervalInserter(
size_t spacing,
size_t nullSize,
size_t symSize,
- size_t windowOverlap) :
+ size_t& windowOverlap) :
ModCodec(),
RemoteControllable("guardinterval"),
d_nbSymbols(nbSymbols),
d_spacing(spacing),
d_nullSize(nullSize),
d_symSize(symSize),
- d_windowOverlap(0)
+ d_windowOverlap(windowOverlap)
{
if (d_nullSize == 0) {
throw std::logic_error("NULL symbol must be present");