X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fwav.h;h=8f253266e0fbd01d5df51940945f9ee29865547b;hp=466098fb461655dea6d80649792fa4157def0a1d;hb=3d73649bf0e39778e715a07da902d0a858065a43;hpb=ce24fdb3c6bf45807363dadfd1975c12ea5449b6 diff --git a/lib/wav.h b/lib/wav.h index 466098f..8f25326 100644 --- a/lib/wav.h +++ b/lib/wav.h @@ -19,8 +19,8 @@ struct WAV { 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, const char* filename); +int wav_write(struct WAV*wav, const char*filename); void wav_print(struct WAV*wav); int wav_convert2mono(struct WAV*src, struct WAV*dest, int rate);