#include "io_wav.h"
#include <stdlib.h>
Go to the source code of this file.
Functions | |
void | wavfile_free (WavFile *w) |
free WavFile struct and data. | |
void | wavfile_print (FILE *out, WavFile *w) |
list content of WavFile struct. | |
WavFile * | wavfile_read (FILE *f) |
read WAV-File. | |
int | wavfile_write (WavFile *w, const char *fname) |
write WAV-File. |
void wavfile_free | ( | WavFile * | w | ) |
void wavfile_print | ( | FILE * | out, | |
WavFile * | w | |||
) |
WavFile* wavfile_read | ( | FILE * | f | ) |
read WAV-File.
see https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ for details on the wav-file format
f | a FILE pointer |
int wavfile_write | ( | WavFile * | w, | |
const char * | fname | |||
) |
write WAV-File.
see https://ccrma.stanford.edu/courses/422/projects/WaveFormat/ for details on the wav-file format
w | the wavfile | |
fname | the name of the output file |