]> sigrok.org Git - pulseview.git/blobdiff - pv/sigsession.h
Sampling bar now commits the sample rate into the device instance
[pulseview.git] / pv / sigsession.h
index 5bdd23456cfbdf88e7044d638ef434897efe2557..7805eec65085ee24d7d2f8917eb09f0eca774172 100644 (file)
@@ -30,9 +30,7 @@
 
 #include <QObject>
 
-extern "C" {
 #include <libsigrok/libsigrok.h>
-}
 
 namespace pv {
 
@@ -66,8 +64,8 @@ public:
 
        capture_state get_capture_state() const;
 
-       void start_capture(struct sr_dev_inst* sdi, uint64_t record_length,
-               uint64_t sample_rate);
+       void start_capture(struct sr_dev_inst* sdi,
+               uint64_t record_length);
 
        void stop_capture();
 
@@ -103,7 +101,6 @@ private:
 private:
        mutable boost::mutex _sampling_mutex;
        capture_state _capture_state;
-       uint64_t _sample_rate;
 
        mutable boost::mutex _signals_mutex;
        std::vector< boost::shared_ptr<view::Signal> > _signals;