#include <QObject>
-extern "C" {
#include <libsigrok/libsigrok.h>
-}
namespace pv {
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();
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;