projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SignalData: Moved samplerate into Snapshot
[pulseview.git]
/
pv
/
data
/
decoderstack.cpp
diff --git
a/pv/data/decoderstack.cpp
b/pv/data/decoderstack.cpp
index e5a758773b17d0a886b424492fbd50dad59fb6e7..a764e452d3d82bc203f88e83cac34bf231fbb699 100644
(file)
--- a/
pv/data/decoderstack.cpp
+++ b/
pv/data/decoderstack.cpp
@@
-264,7
+264,7
@@
void DecoderStack::begin_decode()
// Get the samplerate and start time
start_time_ = snapshot_->start_time();
// Get the samplerate and start time
start_time_ = snapshot_->start_time();
- samplerate_ =
data
->samplerate();
+ samplerate_ =
snapshot_
->samplerate();
if (samplerate_ == 0.0)
samplerate_ = 1.0;
if (samplerate_ == 0.0)
samplerate_ = 1.0;