projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add bindings for new device options
[pulseview.git]
/
pv
/
data
/
snapshot.h
diff --git
a/pv/data/snapshot.h
b/pv/data/snapshot.h
index e99a7a3c8b449e154b3e91740b96b70395096daa..1758d4cddaa7720f35a02449d344b311274cfcc1 100644
(file)
--- a/
pv/data/snapshot.h
+++ b/
pv/data/snapshot.h
@@
-35,7
+35,9
@@
public:
virtual ~Snapshot();
- uint64_t get_sample_count();
+ uint64_t get_sample_count() const;
+
+ int unit_size() const;
protected:
void append_data(void *data, uint64_t samples);