#include <stdint.h>
#include <glib.h>
#include <unistd.h>
-#include "libsigrok.h"
+#include <libsigrok/libsigrok.h>
#include "libsigrok-internal.h"
#define LOG_PREFIX "baylibre-acme"
uint32_t num_channels;
uint64_t samples_read;
+ uint64_t samples_missed;
int64_t start_time;
int64_t last_sample_fin;
- int pipe_fds[2];
+ int timer_fd;
GIOChannel *channel;
};
SR_PRIV int bl_acme_receive_data(int fd, int revents, void *cb_data);
+SR_PRIV int bl_acme_open_channel(struct sr_channel *ch);
+
+SR_PRIV void bl_acme_close_channel(struct sr_channel *ch);
#endif