summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-08-17 21:50:12 +0200
committerGravatar waker <wakeroid@gmail.com>2009-08-17 21:50:12 +0200
commitb7bb7c8c3b61db9ba129615f355bc4af4200f5dd (patch)
treefd1864b28d7d2c37edc78cb086035b3fc329de39 /streamer.c
parent4cd7148d793912b8ef97ce9265962b73d32a1c3f (diff)
added example config file
slightly changed streamer params
Diffstat (limited to 'streamer.c')
-rw-r--r--streamer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/streamer.c b/streamer.c
index 56145ad7..00b454ba 100644
--- a/streamer.c
+++ b/streamer.c
@@ -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);