X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fsigsession.h;h=af01ec40a0a59b695bf639bbff367422bc56e306;hp=5bdd23456cfbdf88e7044d638ef434897efe2557;hb=9dbb80b0dbc0fc51a11e42f8e10fc72e9b66f694;hpb=eec446e1588c41eb14de5e21a8383d10653c15bd diff --git a/pv/sigsession.h b/pv/sigsession.h index 5bdd2345..af01ec40 100644 --- a/pv/sigsession.h +++ b/pv/sigsession.h @@ -30,9 +30,7 @@ #include -extern "C" { #include -} 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 > _signals;