summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drumgizmo/drumgizmoc.cc22
-rw-r--r--man/drumgizmo.16
2 files changed, 14 insertions, 14 deletions
diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc
index a8a94d1..c8de8b8 100644
--- a/drumgizmo/drumgizmoc.cc
+++ b/drumgizmo/drumgizmoc.cc
@@ -99,8 +99,8 @@ static const char usage_str[] =
" dummy:\n"
"\n"
"Streaming parameters:\n"
- " limit: maximum size in k,M,G\n"
- " chunk_size: chunk size in k,M,G\n"
+ " limit: Limit the amount of preloaded drumkit data to the size\n"
+ // " chunk_size: chunk size in k,M,G\n"
"\n";
@@ -323,15 +323,15 @@ int main(int argc, char* argv[])
return 1;
}
}
- else if(parm == "chunk_size")
- {
- settings.disk_cache_chunk_size = byteSizeParser(value);
- if(settings.disk_cache_chunk_size == 0)
- {
- std::cerr << "Invalid argument for streamparms chunk_size: " << value << std::endl;
- return 1;
- }
- }
+ // else if(parm == "chunk_size")
+ // {
+ // settings.disk_cache_chunk_size = byteSizeParser(value);
+ // if(settings.disk_cache_chunk_size == 0)
+ // {
+ // std::cerr << "Invalid argument for streamparms chunk_size: " << value << std::endl;
+ // return 1;
+ // }
+ // }
else
{
std::cerr << "Unknown streamingparms argument " << parm << std::endl;
diff --git a/man/drumgizmo.1 b/man/drumgizmo.1
index 3d36299..11a6ca9 100644
--- a/man/drumgizmo.1
+++ b/man/drumgizmo.1
@@ -109,9 +109,9 @@ Enable diskstreaming
Parameters for controling the streaming buffers.
.P
-\fBlimit\fR=<size> (maximum size in k,M,G)
-.P
-\fBchunk_size\fR=<size> (chunk size in k,M,G)
+\fBlimit\fR=<size> (Limit the amount of preloaded drumkit data to the size)
+\" .P
+\" \fBchunk_size\fR=<size> (chunk size in k,M,G)
.RE
\fB-v, --version\fR