]> sigrok.org Git - pulseview.git/blobdiff - pv/sigsession.h
Drop a few more unneeded 'extern "C"'.
[pulseview.git] / pv / sigsession.h
index 5bdd23456cfbdf88e7044d638ef434897efe2557..af01ec40a0a59b695bf639bbff367422bc56e306 100644 (file)
@@ -30,9 +30,7 @@
 
 #include <QObject>
 
-extern "C" {
 #include <libsigrok/libsigrok.h>
-}
 
 namespace pv {
 
@@ -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 record_length, uint64_t sample_rate);
 
        void feed_in_header(const sr_dev_inst *sdi);
 
@@ -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;