aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
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