1 /* Signal Processing Main - Header
2 
3  * Copyright (C) 1998 J.A. Bezemer
4  *
5  * Licensed under the terms of the GNU General Public License.
6  * ABSOLUTELY NO WARRANTY.
7  * See the file `COPYING' in this directory.
8  */
9 
10 #ifndef HAVE_SIGNPROC_MAIN_H
11 #define HAVE_SIGNPROC_MAIN_H
12 
13 #ifndef SWIG
14 #include "scrollmenu.h"
15 #endif
16 
17 #define SIGNPR_PROCESSING_HEADERTEXT "Signal Processing"
18 
19 typedef struct
20   {
21     long begin;
22     long end;
23   }
24 beginendsample_t;
25 
26 #ifndef SWIG
27 int signproc_get_options (char *startdir, char *infilename, char *outfilename,
28 			  scrollmenu_t * filtlist, int *filtnumbers,
29 			  char **helptexts, scrollmenu_t * selectedfilts,
30 			  int *usetracktimes, int *usebeginendtime,
31 			  double *begintime, double *endtime);
32 #endif
33 
34 int load_track_times (char *filename, beginendsample_t * tracktimes,
35 		      int *number_of_tracks);
36 
37 #ifndef SWIG
38 void signproc_main (char *startdir);
39 #else
40 void signproc_main (char *infilename, char *outfilename, int number_of_filters, int *filter_type);
41 #endif
42 
43 
44 #endif /* HAVE_SIGNPROC_MAIN_H */
45