aboutsummaryrefslogtreecommitdiffstats
path: root/src/rtl_tcp.c
diff options
context:
space:
mode:
authorSteve Markgraf <steve@steve-m.de>2014-02-10 23:57:19 +0100
committerSteve Markgraf <steve@steve-m.de>2014-02-10 23:57:19 +0100
commit89f73b183f2dac9c0dd75beca4cf2f77f20c4a36 (patch)
treee523cf4e70cc1cc2637535caf79ccfc9afeb27bd /src/rtl_tcp.c
parent5b0137abaf179e6ca4e90a6ea987a61823a09bb1 (diff)
lib: change default number of transfers to 15
So far we had 32 * 256KB which was a bit overkill, 15 are more than enough. 15 was chosen instead of 16 because at least on Linux there seems to be a system-wide limit of 63 transfers (when they are 256KB large), so 4 dongles can be used on a single machine without lowering the default transfer number. Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/rtl_tcp.c')
-rw-r--r--src/rtl_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rtl_tcp.c b/src/rtl_tcp.c
index 915a8fe..a54666a 100644
--- a/src/rtl_tcp.c
+++ b/src/rtl_tcp.c
@@ -92,7 +92,7 @@ void usage(void)
"\t[-f frequency to tune to [Hz]]\n"
"\t[-g gain (default: 0 for auto)]\n"
"\t[-s samplerate in Hz (default: 2048000 Hz)]\n"
- "\t[-b number of buffers (default: 32, set by library)]\n"
+ "\t[-b number of buffers (default: 15, set by library)]\n"
"\t[-n max number of linked list buffers to keep (default: 500)]\n"
"\t[-d device index (default: 0)]\n"
"\t[-P ppm_error (default: 0)]\n");