aboutsummaryrefslogtreecommitdiffstats
path: root/wavfile.h
blob: f7ba379cad9e8604638cc30a6d73645aa8f3f76c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
A simple sound library for CSE 20211 by Douglas Thain
For course assignments, you should not change this file.
For complete documentation, see:
http://www.nd.edu/~dthain/courses/cse20211/fall2013/wavfile
*/

#ifndef WAVFILE_H
#define WAVFILE_H

#include <stdio.h>
#include <inttypes.h>

FILE * wavfile_open( const char *filename, int rate );
void wavfile_write( FILE *file, short data[], int length );
void wavfile_close( FILE * file );

#endif