From 987a31954ea574e04c2e79fe3765448c1b607e49 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 17 Mar 2017 14:01:05 +0100 Subject: Add gainmode var variance to config file --- src/DabModulator.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/DabModulator.cpp') diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp index 678d175..c41b8fc 100644 --- a/src/DabModulator.cpp +++ b/src/DabModulator.cpp @@ -3,7 +3,7 @@ Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2016 + Copyright (C) 2017 Matthias P. Braendli, matthias.braendli@mpb.li http://opendigitalradio.org @@ -60,6 +60,7 @@ DabModulator::DabModulator( unsigned outputRate, unsigned clockRate, unsigned dabMode, GainMode gainMode, float& digGain, float normalise, + float gainmodeVariance, const std::string& filterTapsFilename ) : ModInput(), @@ -69,6 +70,7 @@ DabModulator::DabModulator( myGainMode(gainMode), myDigGain(digGain), myNormalise(normalise), + myGainmodeVariance(gainmodeVariance), myEtiSource(etiSource), myFlowgraph(NULL), myFilterTapsFilename(filterTapsFilename), @@ -201,7 +203,7 @@ int DabModulator::process(Buffer* dataOut) (1 + myNbSymbols), myNbCarriers, mySpacing); auto cifGain = make_shared( - mySpacing, myGainMode, myDigGain, myNormalise); + mySpacing, myGainMode, myDigGain, myNormalise, myGainmodeVariance); rcs.enrol(cifGain.get()); -- cgit v1.2.3