]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decoderstack.cpp
Rename Trace::channel_ to Trace::base_, including dependencies
[pulseview.git] / pv / data / decoderstack.cpp
index b79326d83363ed70efa20580a62bdf4068dcddbe..d4daa5902a1d2a47d9f727da8dda74c5c6f5ef9c 100644 (file)
@@ -55,7 +55,7 @@ namespace data {
 const double DecoderStack::DecodeMargin = 1.0;
 const double DecoderStack::DecodeThreshold = 0.2;
 const int64_t DecoderStack::DecodeChunkLength = 4096;
-const unsigned int DecoderStack::DecodeNotifyPeriod = 65536;
+const unsigned int DecoderStack::DecodeNotifyPeriod = 1024;
 
 mutex DecoderStack::global_srd_mutex_;
 
@@ -272,7 +272,7 @@ uint64_t DecoderStack::max_sample_count() const
 {
        uint64_t max_sample_count = 0;
 
-       for (const auto & row : rows_)
+       for (const auto& row : rows_)
                max_sample_count = max(max_sample_count,
                        row.second.get_max_sample());