X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=pv%2Fsigsession.h;h=7805eec65085ee24d7d2f8917eb09f0eca774172;hb=0740907f0a3a0908ae71908d8278ef81c7066dcb;hp=b8647db808f3ea7ea11f24456f22a6c196e98160;hpb=7297c76e03140cc2a49214c242bf14214363bc53;p=pulseview.git diff --git a/pv/sigsession.h b/pv/sigsession.h index b8647db8..7805eec6 100644 --- a/pv/sigsession.h +++ b/pv/sigsession.h @@ -30,9 +30,7 @@ #include -extern "C" { #include -} 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);