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
(parent:
c370fd8
)
applied patch from Marcus Doemling- fix for variable blocksize depending
author
kramm
<kramm>
Wed, 3 Dec 2003 19:16:50 +0000
(19:16 +0000)
committer
kramm
<kramm>
Wed, 3 Dec 2003 19:16:50 +0000
(19:16 +0000)
on samplerate.
src/wav2swf.c
patch
|
blob
|
history
diff --git
a/src/wav2swf.c
b/src/wav2swf.c
index
38ca199
..
821d138
100644
(file)
--- a/
src/wav2swf.c
+++ b/
src/wav2swf.c
@@
-190,7
+190,8
@@
int main (int argc,char ** argv)
processargs(argc, argv);
- blocksize = 576;
+ blocksize = (samplerate > 22050) ? 1152 : 576;
+
blockspersecond = (float)samplerate/blocksize;
framespersecond = blockspersecond;