annotate mp3lib/mp3lib_objfix.sh @ 7962:1d2d47aa8717

some card/mobo combos can't handle buffers larger than 128kB, we change the default buffer to 128kB, add warnings if the buffer becomes full, add a commandline option to enlarge the buffer and give suggestions to users to lessen the buffer size requirements (lower quality/resolution). 128kB should, however, be enough for everybody :-). Bug reported by Brain Edmonds, cause explained (to allow me to fix the driver) by Ronald Bultje (mjpegtools developer)
author rik
date Tue, 29 Oct 2002 19:06:26 +0000
parents d3b889d54a7a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4244
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
1 #!/bin/sh
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
2 # This script fixes up symbol mangling in GNU as code of mp3lib.
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
3 # (c)2001-2002 by Felix Buenemann <atmosfear at users.sourceforge.net>A
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
4 # This file is licensed under the GPL, more info at http://www.fsf.org/
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
5 for i in \
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
6 "CpuDetect" \
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
7 "ipentium" \
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
8 "a3dnow" \
5289
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
9 "isse" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
10 "dct36_3dnowex" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
11 "dct36_3dnow" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
12 "x_plus_minus_3dnow" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
13 "tfcos36" \
d3b889d54a7a more ugly hack
arpi
parents: 4244
diff changeset
14 "COS9"
4244
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
15 do
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
16 echo "fixing: $i=_$i"
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
17 objcopy --redefine-sym "$i=_$i" libMP3.a
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
18 done
f1efe9e55647 rewrites symbols in d_cpu.s on cygwin
atmos4
parents:
diff changeset
19