reduce default writeahead from 8k to 4k (can probably go down to 1k on

many 2.4 systems)
This commit is contained in:
Glenn Maynard
2004-01-03 03:11:56 +00:00
parent 723328a5d5
commit a99d648da5
@@ -22,7 +22,7 @@ const int bytes_per_frame = sizeof(Sint16) * samples_per_frame;
/* Linux 2.6 has a fine-grained scheduler; use a small buffer size. Otherwise, use a larger one. */
static const unsigned max_writeahead_linux_26 = 512;
static const unsigned safe_writeahead = 1024*8;
static const unsigned safe_writeahead = 1024*4;
static unsigned max_writeahead;
const int num_chunks = 8;