unsigned int size;
};
-int wav_read(char* filename, struct WAV*wav);
-int wav_write(char*filename, struct WAV*wav);
+int wav_read(struct WAV*wav, char* filename);
+int wav_write(struct WAV*wav, char*filename);
void wav_print(struct WAV*wav);
int wav_convert2mono(struct WAV*src, struct WAV*dest, int rate);