mirror of
https://github.com/thestk/stk
synced 2026-01-11 20:11:52 +00:00
20 lines
496 B
C
20 lines
496 B
C
// Miscellaneous parsing and error functions for use with STK demo program.
|
|
//
|
|
// Gary P. Scavone, 1999.
|
|
|
|
#include "Instrmnt.h"
|
|
#include "FileWvOut.h"
|
|
#include "Messager.h"
|
|
|
|
int voiceByNumber(int number, stk::Instrmnt **instrument);
|
|
|
|
int voiceByName(char *name, stk::Instrmnt **instrument);
|
|
|
|
void usage(char *function);
|
|
|
|
int checkArgs(int numArgs, char *args[]);
|
|
|
|
int countVoices(int nArgs, char *args[]);
|
|
|
|
bool parseArgs(int numArgs, char *args[], stk::WvOut **output, stk::Messager& messager);
|