File: signpr_wav.h

package info (click to toggle)
gramofile 1.6-7
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 840 kB
  • ctags: 538
  • sloc: ansic: 10,238; makefile: 55
file content (42 lines) | stat: -rw-r--r-- 989 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/* Signal Processing - Wave File Functions - Header

 * Copyright (C) 1998 J.A. Bezemer
 *
 * Licensed under the terms of the GNU General Public License.
 * ABSOLUTELY NO WARRANTY.
 * See the file `COPYING' in this directory.
 */

#ifndef HAVE_SIGNPR_WAV_H
#define HAVE_SIGNPR_WAV_H


#include "signpr_general.h"

/* ----- SOURCE & READING -------------------------------------------------- */

/*extern int sourcefd; */

int openwavsource (char *filename);
/* returns 0: failure (error_window has been displayed), 1: success. */

void closewavsource ();

int seeksamplesource (long samplenumber);
/* returns 0: failure, 1: success */

sample_t readsamplesource ();

/* ----- DESTINATION & WRITING --------------------------------------------- */

/*extern int destfd; */

int openwavdest (char *filename, long bcount);
/* returns 0: failure (error_window has been displayed), 1: success. */

void closewavdest ();

void writesampledest (sample_t sample);


#endif /* HAVE_SIGNPR_WAV_H */