]> sigrok.org Git - pulseview.git/blobdiff - pv/data/decoderstack.cpp
SignalData: Moved samplerate into Snapshot
[pulseview.git] / pv / data / decoderstack.cpp
index e5a758773b17d0a886b424492fbd50dad59fb6e7..a764e452d3d82bc203f88e83cac34bf231fbb699 100644 (file)
@@ -264,7 +264,7 @@ void DecoderStack::begin_decode()
 
        // Get the samplerate and start time
        start_time_ = snapshot_->start_time();
-       samplerate_ = data->samplerate();
+       samplerate_ = snapshot_->samplerate();
        if (samplerate_ == 0.0)
                samplerate_ = 1.0;