You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
496B

  1. // Miscellaneous parsing and error functions for use with STK demo program.
  2. //
  3. // Gary P. Scavone, 1999.
  4. #include "Instrmnt.h"
  5. #include "FileWvOut.h"
  6. #include "Messager.h"
  7. int voiceByNumber(int number, stk::Instrmnt **instrument);
  8. int voiceByName(char *name, stk::Instrmnt **instrument);
  9. void usage(char *function);
  10. int checkArgs(int numArgs, char *args[]);
  11. int countVoices(int nArgs, char *args[]);
  12. bool parseArgs(int numArgs, char *args[], stk::WvOut **output, stk::Messager& messager);