aboutsummaryrefslogtreecommitdiffstats
path: root/src/FIRFilter.h
diff options
context:
space:
mode:
authorBram (morningbird) <bram@morningbird>2012-08-01 15:06:22 +0200
committerBram (morningbird) <bram@morningbird>2012-08-01 15:06:22 +0200
commit06268c30c784051dfa5d651cb9195298094113b1 (patch)
tree97460917e388bb4592605f29005af4666474ed53 /src/FIRFilter.h
parentb593e1cab3a31dff928eafd22f25f16e9daab61d (diff)
downloaddabmod-06268c30c784051dfa5d651cb9195298094113b1.tar.gz
dabmod-06268c30c784051dfa5d651cb9195298094113b1.tar.bz2
dabmod-06268c30c784051dfa5d651cb9195298094113b1.zip
dabmod: offset calculation includes pipeline delay due to FIRFilter
Diffstat (limited to 'src/FIRFilter.h')
-rw-r--r--src/FIRFilter.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FIRFilter.h b/src/FIRFilter.h
index 397301d..7f34fd8 100644
--- a/src/FIRFilter.h
+++ b/src/FIRFilter.h
@@ -33,6 +33,7 @@
#include <queue>
#include "ModCodec.h"
+#include "PcDebug.h"
#include <sys/types.h>
#include <complex>
@@ -40,8 +41,7 @@
#include <time.h>
#include <cstdio>
-//#define MDEBUG(fmt, args...) fprintf (stderr, fmt , ## args)
-#define MDEBUG(fmt, args...)
+#define FIRFILTER_PIPELINE_DELAY 1
typedef std::complex<float> complexf;
@@ -108,7 +108,7 @@ class FIRFilterWorker {
}
~FIRFilterWorker() {
- MDEBUG("~FIRFilterWorker: Total elapsed thread time filtering: %zu\n", calculationTime);
+ PDEBUG("~FIRFilterWorker: Total elapsed thread time filtering: %zu\n", calculationTime);
}
void start(struct FIRFilterWorkerData *firworkerdata) {