[AD] Speed wav loader way up

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


I've had this fix in my private branch for a while but I forgot about it.
Basically, I'm not sure it's a 100% proper approach, but it speeds up
wav loading about 20x at least. It's a one liner as is (though you could
remove the extra code following this line if it's found that this solution
will work):

-    if (wavfile->bits == 8) {
+   if (1) {



Trent :{)>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/