From 0fdf66b095324a7cc410589b12e682c94e664715 Mon Sep 17 00:00:00 2001 From: Jonas Suhr Christensen Date: Mon, 9 Feb 2015 20:18:40 +0100 Subject: Extended usage information. --- drumgizmo/drumgizmoc.cc | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) diff --git a/drumgizmo/drumgizmoc.cc b/drumgizmo/drumgizmoc.cc index d8479fa..4bfd608 100644 --- a/drumgizmo/drumgizmoc.cc +++ b/drumgizmo/drumgizmoc.cc @@ -57,13 +57,31 @@ static const char usage_str[] = "Usage: %s [options] drumkitfile\n" "Options:\n" " -p, --preload Load entire kit audio files into memory (uses ALOT of memory).\n" -" -i, --inputengine dummy|test|jackmidi|midifile Use said event input engine.\n" -" -I, --inputparms parmlist Set input engine parameters.\n" -" -o, --outputengine dummy|alsa|jack|sndfile Use said audio output engine.\n" -" -O, --outputparms parmlist Set output engine parameters.\n" -" -e, --endpos Number of samples to process, -1: infinite.\n" +" -i, --inputengine dummy|test|jackmidi|midifile Use said event input engine.\n" +" -I, --inputparms parmlist Set input engine parameters.\n" +" -o, --outputengine dummy|alsa|jack|sndfile Use said audio output engine.\n" +" -O, --outputparms parmlist Set output engine parameters.\n" +" -e, --endpos Number of samples to process, -1: infinite.\n" " -v, --version Print version information and exit.\n" " -h, --help Print this message and exit.\n" +"\n" +"Input engine parameters:\n" +" jackmidi: midimap=\n" +" midifile: file=, speed= (default 1.0),\n" +" track= (default -1, all tracks)\n" +" midimap=, loop=\n" +" test: p= (default 0.1)\n" +" instr= (default -1, random instrument)\n" +" len= (default -1, forever)\n" +" dummy:\n" +"\n" +"Output engine parameters:\n" +" alsa: dev= (default 'default'), frames= (default 32)\n" +" srate= (default 441000)\n" +" wavfile: file= (default 'output'), srate= (default 44100)\n" +" jackaudio:\n" +" dummy:\n" +"\n" ; CliMain::CliMain() : MessageReceiver(MSGRCV_UI), loading(false) -- cgit v1.2.3