From 2a12830ca3265a97ee13c53cdd809c404328ce8a Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Sat, 1 Aug 2020 00:03:13 +0200 Subject: [PATCH] DecodeSignal: Fix typo --- pv/data/decodesignal.cpp | 3 +-- pv/data/decodesignal.hpp | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pv/data/decodesignal.cpp b/pv/data/decodesignal.cpp index 6c193789..2c2c58e2 100644 --- a/pv/data/decodesignal.cpp +++ b/pv/data/decodesignal.cpp @@ -858,7 +858,7 @@ uint32_t DecodeSignal::get_input_segment_count() const return (no_signals_assigned ? 0 : count); } -uint32_t DecodeSignal::get_input_samplerate(uint32_t segment_id) const +double DecodeSignal::get_input_samplerate(uint32_t segment_id) const { double samplerate = 0; @@ -1128,7 +1128,6 @@ void DecodeSignal::logic_mux_proc() logic_mux_data_->push_segment(output_segment); output_segment->set_samplerate(get_input_samplerate(segment_id)); - } else { // All segments have been processed logic_mux_data_invalid_ = false; diff --git a/pv/data/decodesignal.hpp b/pv/data/decodesignal.hpp index 2a6d125f..3fa8317e 100644 --- a/pv/data/decodesignal.hpp +++ b/pv/data/decodesignal.hpp @@ -192,7 +192,7 @@ private: void set_error_message(QString msg); uint32_t get_input_segment_count() const; - uint32_t get_input_samplerate(uint32_t segment_id) const; + double get_input_samplerate(uint32_t segment_id) const; Decoder* get_decoder_by_instance(const srd_decoder *const srd_dec); -- 2.11.4.GIT