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_meta_logic(const struct sr_dev_inst *sdi,
- const sr_datafeed_meta_logic &meta_logic);
+ void feed_in_header(const sr_dev_inst *sdi);
- void feed_in_meta_analog(const struct sr_dev_inst *sdi,
- const sr_datafeed_meta_analog &meta_analog);
+ void feed_in_meta(const sr_dev_inst *sdi,
+ const sr_datafeed_meta &meta);
void feed_in_logic(const sr_datafeed_logic &logic);
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;