added HAVE_FREETYPE_FT2BUILD_H.
[swftools.git] / src / wav.h
blobc671df86ced84a8e0e8aec9c9e661551d12e14d8
1 /* wav.h
2 Header file for wav.c
4 Part of the swftools package.
6 Copyright (c) 2001 Matthias Kramm <kramm@quiss.org>
8 This file is distributed under the GPL, see file COPYING for details */
10 struct WAV {
11 unsigned short tag;
12 unsigned short channels;
13 unsigned long sampsPerSec;
14 unsigned long bytesPerSec;
15 unsigned short align;
16 unsigned short bps;
18 unsigned char*data;
19 unsigned int size;
22 int readWAV(char* filename, struct WAV*wav);
23 int writeWAV(char*filename, struct WAV*wav);
24 void printWAVInfo(struct WAV*wav);
25 int convertWAV2mono(struct WAV*src, struct WAV*dest, int rate);