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 <sys/time.h>
|
||||||
#include "sigrok.h"
|
#include "sigrok.h"
|
||||||
|
|
||||||
#define CHUNKSIZE 4096
|
#define CHUNKSIZE (512 * 1024)
|
||||||
#define DEFAULT_NUM_PROBES 8
|
#define DEFAULT_NUM_PROBES 8
|
||||||
|
|
||||||
static int format_match(const char *filename)
|
static int format_match(const char *filename)
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include "sigrok-internal.h"
|
#include "sigrok-internal.h"
|
||||||
|
|
||||||
/* size of payloads sent across the session bus */
|
/* size of payloads sent across the session bus */
|
||||||
#define CHUNKSIZE 4096
|
#define CHUNKSIZE (512 * 1024)
|
||||||
|
|
||||||
struct session_vdevice {
|
struct session_vdevice {
|
||||||
char *capturefile;
|
char *capturefile;
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Size of a datastore chunk in units */
|
/* Size of a datastore chunk in units */
|
||||||
#define DATASTORE_CHUNKSIZE 512000
|
#define DATASTORE_CHUNKSIZE (512 * 1024)
|
||||||
|
|
||||||
/*--- hwplugin.c ------------------------------------------------------------*/
|
/*--- hwplugin.c ------------------------------------------------------------*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue