All pastes #629 Raw Edit

Anonymous

public c v1 · immutable
#629 ·published 2004-08-15 02:37 UTC
rendered paste body
void usage_help(void){printf("zgsmplay %s - "        "(c) 1995-2000 Russell Marks for improbabledesigns.\n",        ZGSMPLAY_VER);printf( " usage: zgsmplay [-hnrS] [-f frame] [-g gap]                        [start_dir | filename.gsm | filename1.gsm ...]        -f      set GSM frame to start from (default is 0), or (with `s'                or `m' suffix) second/minute to start from.        -g      set pseudo-stereo echo length (`gap'). The units are                number of samples at 22kHz and are scaled accordingly.                The default is 250, and the maximum acceptable is 1024.        -h      this usage help.        -n      no snd_frag. Takes much longer to respond to keypresses                (several seconds!) but breaks up *much* less, usually not                at all, on a heavily-loaded machine.        -r      enable auto-repeat.        -S      use pseudo-stereo, which often sounds good with music.                (It can make speech sound rather odd, though.)  start_dir     directory to start file selector in.  filename.gsm  single file to play; skips file selector entirely.  filename1.gsm ...                a number of files to play in order specified; also skips                file selector.If standard input is not a terminal, zgsmplay non-interactively playsGSM data directly from stdin. Such usage implies `-n'.  ");}