1 /* Signal Processing - Wave File Functions - 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_SIGNPR_WAV_H
11 #define HAVE_SIGNPR_WAV_H
12 
13 
14 #include "signpr_general.h"
15 
16 /* ----- SOURCE & READING -------------------------------------------------- */
17 
18 /*extern int sourcefd; */
19 
20 int openwavsource (char *filename);
21 /* returns 0: failure (error_window has been displayed), 1: success. */
22 
23 void closewavsource ();
24 
25 int seeksamplesource (long samplenumber);
26 /* returns 0: failure, 1: success */
27 
28 sample_t readsamplesource ();
29 
30 /* ----- DESTINATION & WRITING --------------------------------------------- */
31 
32 /*extern int destfd; */
33 
34 int openwavdest (char *filename, long bcount);
35 /* returns 0: failure (error_window has been displayed), 1: success. */
36 
37 void closewavdest ();
38 
39 void writesampledest (sample_t sample);
40 
41 
42 #endif /* HAVE_SIGNPR_WAV_H */
43