diff options
author | waker <wakeroid@gmail.com> | 2009-08-17 21:50:12 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-08-17 21:50:12 +0200 |
commit | b7bb7c8c3b61db9ba129615f355bc4af4200f5dd (patch) | |
tree | fd1864b28d7d2c37edc78cb086035b3fc329de39 /streamer.c | |
parent | 4cd7148d793912b8ef97ce9265962b73d32a1c3f (diff) |
added example config file
slightly changed streamer params
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -142,10 +142,10 @@ streamer_thread (uintptr_t ctx) { streamer_lock (); if (streambuffer_fill < STREAM_BUFFER_SIZE) { int sz = STREAM_BUFFER_SIZE - streambuffer_fill; - int minsize = 512; -// if (streambuffer_fill < 16384) { + int minsize = 4096; + if (streambuffer_fill < 16384) { minsize = 16384; -// } + } sz = min (minsize, sz); assert ((sz&3) == 0); int bytesread = streamer_read_async (&streambuffer[streambuffer_fill], sz); |