summaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp15
1 files 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);
}
}