From: Soeren Apel Date: Fri, 18 May 2018 20:16:00 +0000 (+0200) Subject: DecodeSignal: Add and use inclusive/exclusive sample count variant X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=commitdiff_plain;h=b82908abf7353c7401cd67e82325922960d5d546;hp=b82908abf7353c7401cd67e82325922960d5d546 DecodeSignal: Add and use inclusive/exclusive sample count variant This is needed because the annotation cache must be operating on the number of decoded samples WITHOUT the ones being currently processed, otherwise it'll refuse to refresh the cache, even if more annotations arrive - it uses the sample count to determine the cache state. However, the bar showing the undecoded area must operate on the number of samples WITH the ones being currently processed so that annotations aren't overlapping with it. Adding the parameter to DecodeSignal::get_decoded_sample_count() allows for both. This relates to e06cf18db72. ---