projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sampling bar now commits the sample rate into the device instance
[pulseview.git]
/
pv
/
samplingbar.h
diff --git
a/pv/samplingbar.h
b/pv/samplingbar.h
index 446d98ed495fcf23e017f44c1ab98c3d7cf5706c..ade457e5cc56db0a73f0004c63b57a13ff05754e 100644
(file)
--- a/
pv/samplingbar.h
+++ b/
pv/samplingbar.h
@@
-45,7
+45,6
@@
public:
struct sr_dev_inst* get_selected_device() const;
uint64_t get_record_length() const;
struct sr_dev_inst* get_selected_device() const;
uint64_t get_record_length() const;
- uint64_t get_sample_rate() const;
void set_sampling(bool sampling);
void set_sampling(bool sampling);
@@
-55,9
+54,12
@@
signals:
private:
void update_device_selector();
void update_sample_rate_selector();
private:
void update_device_selector();
void update_sample_rate_selector();
+ void update_sample_rate_selector_value();
+ void commit_sample_rate();
private slots:
void on_device_selected();
private slots:
void on_device_selected();
+ void on_sample_rate_changed();
void configure();
private:
void configure();
private: