From 45b180cd1a0ccbd12b5fb1baf82a9430e4567d2b Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 22 Dec 2017 09:08:42 +0100 Subject: Fix some PDEBUG calls --- src/DabModulator.cpp | 3 +-- src/FIRFilter.cpp | 2 +- src/GainControl.cpp | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3