#include <sys/time.h>
#include "sigrok.h"
-#define CHUNKSIZE 4096
+#define CHUNKSIZE (512 * 1024)
#define DEFAULT_NUM_PROBES 8
static int format_match(const char *filename)
/* send header */
header.feed_version = 1;
header.num_logic_probes = num_probes;
- header.num_analog_probes = 0;
header.samplerate = 0;
gettimeofday(&header.starttime, NULL);
packet.type = SR_DF_HEADER;
return SR_OK;
}
-struct sr_input_format input_binary = {
+SR_PRIV struct sr_input_format input_binary = {
.id = "binary",
.description = "Raw binary",
.format_match = format_match,