• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/flac/

Lines Matching refs:usage_error

72 static int usage_error(const char *message, ...);
350 return usage_error("ERROR: --cue is not allowed in test mode\n");
355 return usage_error("ERROR: --skip is not allowed in test mode\n");
357 return usage_error("ERROR: --until is not allowed in test mode\n");
359 return usage_error("ERROR: --cue is not allowed in test mode\n");
361 return usage_error("ERROR: analysis mode (-a/--analyze) and test mode (-t/--test) cannot be used together\n");
366 return usage_error("ERROR: --cue may not be combined with --skip or --until\n");
370 return usage_error("ERROR: invalid number of channels '%u', must be > 0 and <= %u\n", option_values.format_channels, FLAC__MAX_CHANNELS);
374 return usage_error("ERROR: invalid bits per sample '%u' (must be 8/16/24)\n", option_values.format_bps);
378 return usage_error("ERROR: invalid sample rate '%u', must be > 0 and <= %u\n", option_values.format_sample_rate, FLAC__MAX_SAMPLE_RATE);
381 return usage_error("ERROR: only one of --force-raw-format and --force-aiff-format allowed\n");
385 return usage_error("ERROR: --endian only allowed with --force-raw-format\n");
387 return usage_error("ERROR: --sign only allowed with --force-raw-format\n");
390 return usage_error("ERROR: --channels not allowed with --decode\n");
392 return usage_error("ERROR: --bps not allowed with --decode\n");
394 return usage_error("ERROR: --sample-rate not allowed with --decode\n");
399 return usage_error("ERROR: --ignore-chunk-sizes only allowed for encoding\n");
401 return usage_error("ERROR: --ignore-chunk-sizes not allowed with --sector-align\n");
403 return usage_error("ERROR: --ignore-chunk-sizes not allowed with --until\n");
405 return usage_error("ERROR: --ignore-chunk-sizes not allowed with --cue\n");
407 return usage_error("ERROR: --ignore-chunk-sizes not allowed with --cuesheet\n");
411 return usage_error("ERROR: --sector-align only allowed for encoding\n");
413 return usage_error("ERROR: --sector-align not allowed with --skip\n");
415 return usage_error("ERROR: --sector-align not allowed with --until\n");
417 return usage_error("ERROR: --sector-align not allowed with --cue\n");
419 return usage_error("ERROR: --sector-align can only be done with stereo input\n");
421 return usage_error("ERROR: --sector-align can only be done with 16-bit samples\n");
423 return usage_error("ERROR: --sector-align can only be done with a sample rate of 44100\n");
427 return usage_error("ERROR: --replay-gain not allowed with -c/--stdout\n");
429 return usage_error("ERROR: --replay-gain only allowed for encoding\n");
431 return usage_error("ERROR: --replay-gain can only be done with mono/stereo input\n");
433 return usage_error("ERROR: invalid sample rate used with --replay-gain\n");
451 return usage_error("ERROR: -o/--output-name cannot be used with multiple files\n");
454 return usage_error("ERROR: --output-prefix conflicts with -o/--output-name\n");
457 return usage_error("ERROR: --cuesheet cannot be used when encoding multiple files\n");
462 return usage_error("ERROR: using --keep-foreign-metadata cannot be used with --ignore-chunk-sizes\n");
464 return usage_error("ERROR: --keep-foreign-metadata is not allowed in test mode\n");
466 return usage_error("ERROR: --keep-foreign-metadata is not allowed in analyis mode\n");
469 return usage_error("ERROR: using --delete-input-file with --keep-foreign-metadata has been disabled until more testing has been done.\n");
692 return usage_error("ERROR: --%s must be a number\n", long_option);
695 return usage_error("ERROR: --%s too large; this build of flac does not support filesizes over 2GB\n", long_option);
697 return usage_error("ERROR: --%s must be > 0\n", long_option);
725 return usage_error("ERROR: bad specification string \"%s\" for --%s\n", option_argument, long_option);
731 return usage_error("ERROR: only --channel-map=none currently supported\n");
742 return usage_error("ERROR: too many --picture arguments, only %u allowed\n", max_pictures);
744 return usage_error("ERROR: (--picture) %s\n", violation);
750 return usage_error("ERROR: (--tag-from-file) %s\n", violation);
789 return usage_error("ERROR: argument to --endian must be \"big\" or \"little\"\n");
810 return usage_error("ERROR: argument to --sign must be \"signed\" or \"unsigned\"\n");
943 return usage_error("ERROR: (-T/--tag) %s\n", violation);
957 return usage_error("ERROR: compression level '9' is reserved\n");
975 return usage_error("ERROR: too many seekpoints requested\n");
987 return usage_error("ERROR: argument to -%c must be >= 0; for no padding use -%c-\n", short_option, short_option);
993 return usage_error("ERROR: invalid blocksize (-%c) '%d', must be >= %u and <= %u\n", short_option, i, FLAC__MIN_BLOCK_SIZE, FLAC__MAX_BLOCK_SIZE);
1006 return usage_error("ERROR: invalid LPC order (-%c) '%d', must be >= %u and <= %u\n", short_option, i, 0, FLAC__MAX_LPC_ORDER);
1028 return usage_error("ERROR: invalid value '%d' for qlp coeff precision (-%c), must be 0 or between %u and %u, inclusive\n", i, short_option, FLAC__MIN_QLP_COEFF_PRECISION, FLAC__MAX_QLP_COEFF_PRECISION);
1038 return usage_error("ERROR: invalid value '%d' for residual partition order (-%c), must be between 0 and %u, inclusive\n", i, short_option, FLAC__MAX_RICE_PARTITION_ORDER);
1044 return usage_error("ERROR: invalid value '%d' for min residual partition order (-%c), must be between 0 and %u, inclusive\n", i, short_option, FLAC__MAX_RICE_PARTITION_ORDER);
1048 return usage_error("ERROR: invalid value '%d' for max residual partition order (-%c), must be between 0 and %u, inclusive\n", i, short_option, FLAC__MAX_RICE_PARTITION_ORDER);
1055 return usage_error("ERROR: invalid value '%d' for Rice parameter search distance (-%c), must be >= 0\n", i, short_option);
1109 int usage_error(const char *message, ...)
1711 return usage_error("ERROR: --keep-foreign-metadata cannot be used when encoding from stdin or to stdout\n");
1715 return usage_error("ERROR: --keep-foreign-metadata can only be used with WAVE or AIFF input\n");
1777 return usage_error("ERROR: for encoding a raw file you must specify a value for --endian, --sign, --channels, --bps, and --sample-rate\n");
1784 return usage_error("ERROR: --replay-gain cannot be used when encoding to stdout\n");
1789 return usage_error("ERROR: --replay-gain cannot be used when encoding to Ogg FLAC yet\n");
1794 return usage_error("ERROR: invalid value for --skip\n");
1799 return usage_error("ERROR: invalid value for --until\n");
1983 return usage_error("ERROR: for decoding to a raw file you must specify a value for --endian and --sign\n");
1988 return usage_error("ERROR: --keep-foreign-metadata cannot be used when decoding from stdin or to stdout\n");
1990 return usage_error("ERROR: --keep-foreign-metadata can only be used with WAVE or AIFF output\n");
2010 return usage_error("ERROR: invalid value for --skip\n");
2013 return usage_error("ERROR: invalid value for --until\n");
2020 return usage_error("ERROR: invalid value for --cue\n");