From f450abc563b5b0a8f2625d8d1c14f1f04adbd26d Mon Sep 17 00:00:00 2001 From: andreas128 Date: Thu, 6 Apr 2017 22:01:48 +0100 Subject: Add warning for incomplete flowgraph --- src/DabModulator.cpp | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp index 757dd9a..8e3af8a 100644 --- a/src/DabModulator.cpp +++ b/src/DabModulator.cpp @@ -366,6 +366,7 @@ int DabModulator::process(Buffer* dataOut) myFlowgraph->connect(cifOfdm, cifGain); myFlowgraph->connect(cifGain, cifGuard); +#warning "Flowgraph logic incomplete (skips FIRFilter)!" //if (cifFilter) { // myFlowgraph->connect(cifGuard, cifFilter); // if (cifRes) { @@ -383,19 +384,13 @@ int DabModulator::process(Buffer* dataOut) // myFlowgraph->connect(cifGuard, myOutput); // } //} - //if (cifRes) { - // myFlowgraph->connect(cifGuard, cifRes); - // myFlowgraph->connect(cifRes, cifPoly); - // myFlowgraph->connect(cifPoly, myOutput); - //} else { - // myFlowgraph->connect(cifGuard, cifPoly); - // myFlowgraph->connect(cifPoly, myOutput); - //} if (cifRes) { myFlowgraph->connect(cifGuard, cifRes); - myFlowgraph->connect(cifRes, myOutput); + myFlowgraph->connect(cifRes, cifPoly); + myFlowgraph->connect(cifPoly, myOutput); } else { - myFlowgraph->connect(cifGuard, myOutput); + myFlowgraph->connect(cifGuard, cifPoly); + myFlowgraph->connect(cifPoly, myOutput); } } -- cgit v1.2.3