diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-21 20:04:47 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2014-11-21 20:04:47 +0100 |
commit | f87bffa6d7191ea8ee22db581f9d5c45c86af1f4 (patch) | |
tree | 7a26a86cf5a952ce4f1d633dbe4e494d05927ac2 /etisnoop/wavfile.h | |
parent | ab1203f9d9b83c342b905e1829829a9d9947bd09 (diff) | |
download | mmbtools-aux-f87bffa6d7191ea8ee22db581f9d5c45c86af1f4.tar.gz mmbtools-aux-f87bffa6d7191ea8ee22db581f9d5c45c86af1f4.tar.bz2 mmbtools-aux-f87bffa6d7191ea8ee22db581f9d5c45c86af1f4.zip |
Add missing wavfile.[ch]
Diffstat (limited to 'etisnoop/wavfile.h')
-rw-r--r-- | etisnoop/wavfile.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/etisnoop/wavfile.h b/etisnoop/wavfile.h new file mode 100644 index 0000000..f7ba379 --- /dev/null +++ b/etisnoop/wavfile.h @@ -0,0 +1,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 |