summaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:30:04 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-01-07 11:30:04 +0100
commit95f556cf0797ab4c23f431e5c8c5accfa7f4c30b (patch)
treef3958bd5b3d6a686ee1a04d3b23f2f0ba6d566de /src/DabModulator.cpp
parent9b0203901bc83a07c4ce281f7d0c2e7f825f77a5 (diff)
downloaddabmod-95f556cf0797ab4c23f431e5c8c5accfa7f4c30b.tar.gz
dabmod-95f556cf0797ab4c23f431e5c8c5accfa7f4c30b.tar.bz2
dabmod-95f556cf0797ab4c23f431e5c8c5accfa7f4c30b.zip
Fix a few minor mistakes
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 0818f4f..8ba8af6 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -240,7 +240,7 @@ int DabModulator::process(Buffer* dataOut)
////////////////////////////////////////////////////////////////
// Data initialisation
////////////////////////////////////////////////////////////////
- myFicSizeIn = fic->getFramesize();
+ size_t ficSizeIn = fic->getFramesize();
////////////////////////////////////////////////////////////////
// Modules configuration
@@ -252,10 +252,10 @@ int DabModulator::process(Buffer* dataOut)
PDEBUG(" Framesize: %zu\n", fic->getFramesize());
// Configuring prbs generator
- auto ficPrbs = make_shared<PrbsGenerator>(myFicSizeIn, 0x110);
+ auto ficPrbs = make_shared<PrbsGenerator>(ficSizeIn, 0x110);
// Configuring convolutionnal encoder
- auto ficConv = make_shared<ConvEncoder>(myFicSizeIn);
+ auto ficConv = make_shared<ConvEncoder>(ficSizeIn);
// Configuring puncturing encoder
auto ficPunc = make_shared<PuncturingEncoder>();