sr: Consistently use 512kB as default chunk size.
This commit is contained in:
parent
1190dcf713
commit
8ff6afc95d
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#endif
|
||||
|
||||
/* Size of a datastore chunk in units */
|
||||
#define DATASTORE_CHUNKSIZE 512000
|
||||
#define DATASTORE_CHUNKSIZE (512 * 1024)
|
||||
|
||||
/*--- hwplugin.c ------------------------------------------------------------*/
|
||||
|
||||
|
|
Loading…
Reference in New Issue