summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-04-06 22:01:15 +0100
committerandreas128 <Andreas>2017-04-06 22:01:15 +0100
commit072c2e1277690fa6bd5016fdb69455fd28ba785e (patch)
tree10f6fbfeec7bf99ecb01b601cec1de76daf8dfc0
parentebf4bac7c87ec4b7a25fb626a53b8c407d3f446b (diff)
downloaddabmod-072c2e1277690fa6bd5016fdb69455fd28ba785e.tar.gz
dabmod-072c2e1277690fa6bd5016fdb69455fd28ba785e.tar.bz2
dabmod-072c2e1277690fa6bd5016fdb69455fd28ba785e.zip
Fix print to stdout
-rw-r--r--src/DabModulator.cpp14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 81257f4..757dd9a 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -206,7 +206,8 @@ int DabModulator::process(Buffer* dataOut)
(1 + myNbSymbols), myNbCarriers, mySpacing);
auto cifGain = make_shared<GainControl>(
- mySpacing, myGainMode, myDigGain, myNormalise, myGainmodeVariance);
+ mySpacing, myGainMode, myDigGain, myNormalise,
+ myGainmodeVariance);
rcs.enrol(cifGain.get());
@@ -222,8 +223,12 @@ int DabModulator::process(Buffer* dataOut)
shared_ptr<MemlessPoly> cifPoly;
if (not myPolyCoefFilename.empty()) {
cifPoly = make_shared<MemlessPoly>(myPolyCoefFilename);
- std::cout << myPolyCoefFilename << "\n";
- std::cout << cifPoly->m_taps[0] << " " << cifPoly->m_taps[1] << " "<< cifPoly->m_taps[2] << " "<< cifPoly->m_taps[3] << " "<< cifPoly->m_taps[4] << " "<< cifPoly->m_taps[5] << " "<< cifPoly->m_taps[6] << " "<< cifPoly->m_taps[7] << "\n";
+ etiLog.level(debug) << myPolyCoefFilename << "\n";
+ etiLog.level(debug) << cifPoly->m_coefs[0] << " " <<
+ cifPoly->m_coefs[1] << " "<< cifPoly->m_coefs[2] << " "<<
+ cifPoly->m_coefs[3] << " "<< cifPoly->m_coefs[4] << " "<<
+ cifPoly->m_coefs[5] << " "<< cifPoly->m_coefs[6] << " "<<
+ cifPoly->m_coefs[7] << "\n";
rcs.enrol(cifPoly.get());
}
@@ -318,7 +323,8 @@ int DabModulator::process(Buffer* dataOut)
auto subchConv = make_shared<ConvEncoder>(subchSizeIn);
// Configuring puncturing encoder
- auto subchPunc = make_shared<PuncturingEncoder>(subchannel->framesizeCu());
+ auto subchPunc =
+ make_shared<PuncturingEncoder>(subchannel->framesizeCu());
for (const auto& rule : subchannel->get_rules()) {
PDEBUG(" Adding rule:\n");