sr: Consistently use 512kB as default chunk size.

This commit is contained in:
Uwe Hermann 2012-01-06 16:20:28 +01:00
parent 1190dcf713
commit 8ff6afc95d
3 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@
#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)

View File

@ -27,7 +27,7 @@
#include "sigrok-internal.h"
/* size of payloads sent across the session bus */
#define CHUNKSIZE 4096
#define CHUNKSIZE (512 * 1024)
struct session_vdevice {
char *capturefile;

View File

@ -34,7 +34,7 @@
#endif
/* Size of a datastore chunk in units */
#define DATASTORE_CHUNKSIZE 512000
#define DATASTORE_CHUNKSIZE (512 * 1024)
/*--- hwplugin.c ------------------------------------------------------------*/