23 #include "SoxWindows.H" 38 cerr<<
"Usage: "<<str<<
" -h or --help"<<endl;
39 cerr<<
"Usage: "<<str<<
" fileName.wav"<<endl;
40 cerr<<
"\t the fileName can be any readable audio file format."<<endl;
41 cerr<<
"\n Author : Matt Flax <flatmax@>"<<endl;
51 static void quit(
void *wid, gpointer data) {
55 int main(
int argc,
char *argv[]) {
62 if (op.
getArg<
string>(
"h", argc, argv, help, i=0)!=0)
64 if (op.
getArg<
string>(
"help", argc, argv, help, i=0)!=0)
67 string fileName(argv[argc-1]);
68 cout<<
"input file = "<<fileName<<endl;
72 gtk_init( &argc, &argv );
79 <<
BoxIS(
true,
true,
true) <<speed
int getArg(string key, int argc, char *argv[], TYPE &ret, int i)
static void quit(void *wid, gpointer data)
void setTimeScale(FP_TYPE ts)
int main(int argc, char *argv[])
#define NO_ERROR
There is no error.
void printUsage(const char *str)
static double getVal(GtkRange *wid)
static void scaleTouch(void *widget, gpointer data)