summaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorandreas128 <Andreas>2017-04-06 22:01:48 +0100
committerandreas128 <Andreas>2017-04-06 22:01:48 +0100
commitf450abc563b5b0a8f2625d8d1c14f1f04adbd26d (patch)
tree92a6328b49c0de3defc1bc7733f562fb6954e8b4 /src/DabModulator.cpp
parent072c2e1277690fa6bd5016fdb69455fd28ba785e (diff)
downloaddabmod-f450abc563b5b0a8f2625d8d1c14f1f04adbd26d.tar.gz
dabmod-f450abc563b5b0a8f2625d8d1c14f1f04adbd26d.tar.bz2
dabmod-f450abc563b5b0a8f2625d8d1c14f1f04adbd26d.zip
Add warning for incomplete flowgraph
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);
}
}