X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fdata%2Fdecodesignal.hpp;h=21d14b810d558d757f919dbc68932fbcc5dc6d6f;hb=ed535cd705e18d30d230d69a84a52f22a85431c7;hp=90c06de4972ebc2268ad943ac5ec87b07fdeb3fc;hpb=72435789a077273d96260f0225f79171e679359e;p=pulseview.git diff --git a/pv/data/decodesignal.hpp b/pv/data/decodesignal.hpp index 90c06de4..21d14b81 100644 --- a/pv/data/decodesignal.hpp +++ b/pv/data/decodesignal.hpp @@ -113,6 +113,8 @@ public: double samplerate() const; const pv::util::Timestamp start_time() const; + uint32_t get_input_segment_count() const; + /** * Returns the number of samples that can be worked on, * i.e. the number of samples where samples are available @@ -141,7 +143,7 @@ private: void commit_decoder_channels(); - void mux_logic_samples(const int64_t start, const int64_t end); + void mux_logic_samples(uint32_t segment_id, const int64_t start, const int64_t end); void logic_mux_proc(); @@ -180,7 +182,7 @@ private: shared_ptr logic_mux_data_; shared_ptr logic_mux_segment_; - uint32_t logic_unit_size_; + uint32_t logic_mux_unit_size_; bool logic_mux_data_invalid_; uint32_t currently_processed_segment_;