aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-22 09:08:42 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2017-12-22 09:08:42 +0100
commit45b180cd1a0ccbd12b5fb1baf82a9430e4567d2b (patch)
tree85b2b3fe0b8e6e5c1a970aff4f7c5fc82536c74a
parent286fc43b7b837bcd3786d46df3f4de7c965a392b (diff)
downloaddabmod-45b180cd1a0ccbd12b5fb1baf82a9430e4567d2b.tar.gz
dabmod-45b180cd1a0ccbd12b5fb1baf82a9430e4567d2b.tar.bz2
dabmod-45b180cd1a0ccbd12b5fb1baf82a9430e4567d2b.zip
Fix some PDEBUG calls
-rw-r--r--src/DabModulator.cpp3
-rw-r--r--src/FIRFilter.cpp2
-rw-r--r--src/GainControl.cpp2
3 files changed, 3 insertions, 4 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 0914469..be140d3 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -62,8 +62,7 @@ DabModulator::DabModulator(EtiSource& etiSource,
myEtiSource(etiSource),
myFlowgraph()
{
- PDEBUG("DabModulator::DabModulator(%u, %u, %u, %zu) @ %p\n",
- outputRate, clockRate, dabMode, (size_t)gainMode, this);
+ PDEBUG("DabModulator::DabModulator() @ %p\n", this);
if (m_settings.dabMode == 0) {
setMode(2);
diff --git a/src/FIRFilter.cpp b/src/FIRFilter.cpp
index 1450b1e..bc2314a 100644
--- a/src/FIRFilter.cpp
+++ b/src/FIRFilter.cpp
@@ -119,7 +119,7 @@ void FIRFilter::load_filter_taps(const std::string &tapsFile)
int n;
for (n = 0; n < n_taps; n++) {
taps_fstream >> filter_taps[n];
- PDEBUG("FIRFilter: tap: %f\n", filter_taps[n] );
+ PDEBUG("FIRFilter: tap: %f\n", (double)filter_taps[n] );
if (taps_fstream.eof()) {
fprintf(stderr, "FIRFilter: file %s should contains %d taps, but EOF reached "\
"after %d taps !\n", tapsFile.c_str(), n_taps, n);
diff --git a/src/GainControl.cpp b/src/GainControl.cpp
index f44aa68..0411482 100644
--- a/src/GainControl.cpp
+++ b/src/GainControl.cpp
@@ -63,7 +63,7 @@ GainControl::GainControl(size_t framesize,
m_gainmode(gainMode),
m_mutex()
{
- PDEBUG("GainControl::GainControl(%zu, %zu) @ %p\n", framesize, (size_t)m_gainMode, this);
+ PDEBUG("GainControl::GainControl(%zu, %zu) @ %p\n", framesize, (size_t)m_gainmode, this);
/* register the parameters that can be remote controlled */
RC_ADD_PARAMETER(digital, "Digital Gain");