From 03053507892b69790ad29c8480620a51777caee4 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Fri, 17 Jun 2022 12:46:44 +0000 Subject: [PATCH] - refactored git-svn-id: http://moon:8086/svn/software/trunk/libsrc/cpp@1029 b431acfa-c32f-4a4a-93f1-934dc6c82436 --- radio/interpolation/Farrow.hpp | 6 +++--- radio/interpolation/PolyPhase.hpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/radio/interpolation/Farrow.hpp b/radio/interpolation/Farrow.hpp index 6e141ad..305c3de 100644 --- a/radio/interpolation/Farrow.hpp +++ b/radio/interpolation/Farrow.hpp @@ -64,7 +64,7 @@ public: void process() { // Get buffers - auto m_buf_in = dynamic_cast*>(buffer_in()); + auto buf_in = dynamic_cast*>(buffer_in()); auto buf_out = dynamic_cast*>(buffer_out()); // Process input @@ -73,14 +73,14 @@ public: size_t adv = m_timingGenerator.getAdv(); radio_float_t mu = m_timingGenerator.getMu(); - if (m_buf_in->len() < adv) + if (buf_in->len() < adv) { break; } if (adv != 0) { - m_fir.feed(*m_buf_in, adv); + m_fir.feed(*buf_in, adv); // Partial filter responses for (int i=0; i < m_M; i++) diff --git a/radio/interpolation/PolyPhase.hpp b/radio/interpolation/PolyPhase.hpp index 66c0093..8b4022e 100644 --- a/radio/interpolation/PolyPhase.hpp +++ b/radio/interpolation/PolyPhase.hpp @@ -64,7 +64,7 @@ public: void process() { // Get buffers - auto m_buf_in = dynamic_cast*>(buffer_in()); + auto buf_in = dynamic_cast*>(buffer_in()); auto buf_out = dynamic_cast*>(buffer_out()); // Process input @@ -73,14 +73,14 @@ public: size_t adv = m_timingGenerator.getAdv(); radio_float_t mu = m_timingGenerator.getMu(); - if (m_buf_in->len() < adv) + if (buf_in->len() < adv) { break; } if (adv != 0) { - m_fir.feed(*m_buf_in, adv); + m_fir.feed(*buf_in, adv); } // Polyphase filtering