git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f143971
)
moved wav.h to ../lib
author
kramm
<kramm>
Wed, 12 Oct 2005 18:32:45 +0000
(18:32 +0000)
committer
kramm
<kramm>
Wed, 12 Oct 2005 18:32:45 +0000
(18:32 +0000)
src/swfc.c
patch
|
blob
|
history
src/wav2swf.c
patch
|
blob
|
history
diff --git
a/src/swfc.c
b/src/swfc.c
index
4313903
..
131c794
100644
(file)
--- a/
src/swfc.c
+++ b/
src/swfc.c
@@
-1209,7
+1209,7
@@
void s_sound(char*name, char*filename)
unsigned blocksize = 1152;
int is_mp3 = 0;
- if(wav_read(&wav, filename)) {
+ if(wav_read(filename, &wav)) {
int t;
wav_convert2mono(&wav, &wav2, 44100);
samples = (U16*)wav2.data;
diff --git
a/src/wav2swf.c
b/src/wav2swf.c
index
153f8f1
..
73d5258
100644
(file)
--- a/
src/wav2swf.c
+++ b/
src/wav2swf.c
@@
-227,7
+227,7
@@
int main (int argc,char ** argv)
exit(1);
}
- if(!wav_read(&wav, filename))
+ if(!wav_read(filename, &wav))
{
msg("<fatal> Error reading %s", filename);
exit(1);