Commit 6eaf13e6 authored by Ivica Ico Bukvic's avatar Ivica Ico Bukvic
Browse files

lowered the readsize (EXPERIMENTAL) from 10K to 2000 (originally) 1000. 10K...

lowered the readsize (EXPERIMENTAL) from 10K to 2000 (originally) 1000. 10K caused high probability of xruns, while 1000 could result in stack overflow in gui-heavy patches.
parent b6a14119
......@@ -113,7 +113,7 @@ static int sockfd;
/* The "pd_readsocket" command, which polls the socket. */
#define CHUNKSIZE 20000 /* chunks to allocate memory for reading socket */
#define READSIZE 10000 /* size of read to issue */
#define READSIZE 2000 /* size of read to issue */
static char *pd_tkbuf = 0; /* buffer for reading */
static int pd_tkbufsize = 0; /* current buffer size */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment