]> 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 b8647db808f3ea7ea11f24456f22a6c196e98160..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();
 
@@ -83,7 +81,7 @@ private:
        void load_thread_proc(const std::string name);
 
        void sample_thread_proc(struct sr_dev_inst *sdi,
-               uint64_t record_length, uint64_t sample_rate);
+               uint64_t record_length);
 
        void feed_in_header(const sr_dev_inst *sdi);