aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorBram (morningbird) <bram@morningbird>2012-08-01 15:34:29 +0200
committerBram (morningbird) <bram@morningbird>2012-08-01 15:34:29 +0200
commit3990ad27e33f974c0a577e5a5556e113bd60f5bd (patch)
tree8785d0773cfeb06537809c76a95900b465bda672 /src/DabMod.cpp
parent06268c30c784051dfa5d651cb9195298094113b1 (diff)
downloaddabmod-3990ad27e33f974c0a577e5a5556e113bd60f5bd.tar.gz
dabmod-3990ad27e33f974c0a577e5a5556e113bd60f5bd.tar.bz2
dabmod-3990ad27e33f974c0a577e5a5556e113bd60f5bd.zip
dabmod: pipeline delay correctionsr1
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 6627ed1..dc14d7a 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -280,7 +280,9 @@ int main(int argc, char* argv[])
// When using the FIRFilter, increase the modulator offset pipelining delay
// by the correct amount
- modconf.delay_calculation_pipeline_stages += FIRFILTER_PIPELINE_DELAY;
+ if (filterTapsFilename != NULL) {
+ modconf.delay_calculation_pipeline_stages += FIRFILTER_PIPELINE_DELAY;
+ }
// Setting ETI input filename