forked from M-Labs/artiq
1
0
Fork 0

runtime: increase packet buffer size

This commit is contained in:
Sebastien Bourdeauducq 2015-04-22 15:01:58 +08:00
parent e4251c7f41
commit 6a80944c3f
1 changed files with 2 additions and 2 deletions

View File

@ -18,8 +18,8 @@
#include "exceptions.h" #include "exceptions.h"
#include "session.h" #include "session.h"
#define BUFFER_IN_SIZE (32*1024) #define BUFFER_IN_SIZE (1024*1024)
#define BUFFER_OUT_SIZE (32*1024) #define BUFFER_OUT_SIZE (1024*1024)
static int buffer_in_index; static int buffer_in_index;
/* The 9th byte (right after the header) of buffer_in must be aligned /* The 9th byte (right after the header) of buffer_in must be aligned