git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
glyph2ascii can now be NULL
[swftools.git]
/
lib
/
wav.c
diff --git
a/lib/wav.c
b/lib/wav.c
index
9afd6b1
..
31f24ca
100644
(file)
--- a/
lib/wav.c
+++ b/
lib/wav.c
@@
-45,7
+45,7
@@
int getWAVBlock(FILE*fi, struct WAVBlock*block)
return 1;
}
return 1;
}
-int wav_read(char* filename, struct WAV*wav)
+int wav_read(struct WAV*wav, char* filename)
{
FILE*fi = fopen(filename, "rb");
unsigned char b[16];
{
FILE*fi = fopen(filename, "rb");
unsigned char b[16];
@@
-113,7
+113,7
@@
int wav_read(char* filename, struct WAV*wav)
return 1;
}
return 1;
}
-int wav_write(char*filename, struct WAV*wav)
+int wav_write(struct WAV*wav, char*filename)
{
FILE*fi = fopen(filename, "wb");
char*b="RIFFWAVEfmt \x10\0\0\0data";
{
FILE*fi = fopen(filename, "wb");
char*b="RIFFWAVEfmt \x10\0\0\0data";