summaryrefslogtreecommitdiff
path: root/drumgizmo/drumgizmoc.cc
diff options
context:
space:
mode:
authorGoran Mekić <meka@tilda.center>2017-04-18 16:19:39 +0200
committerGoran Mekić <meka@tilda.center>2017-04-18 17:12:59 +0200
commitd01b249bebbacc6a2db5c1cb914499a2e22ad0d2 (patch)
treee35c90f5ef99e81f05e9622d00052cbf248a509a /drumgizmo/drumgizmoc.cc
parent1d27cbf59bb9f4020ed9ff37fa4e9f15082d023b (diff)
Comment out chunk_size for diskstreaming
Diffstat (limited to 'drumgizmo/drumgizmoc.cc')
-rw-r--r--drumgizmo/drumgizmoc.cc22
1 files changed, 11 insertions, 11 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;