author Ryan C. Gordon
Fri, 20 Jan 2017 16:26:24 -0500
changeset 10830 92013fad89d1
parent 9736 466fe04968c7
permissions -rwxr-xr-x
audio: removed conditional from simple resampler's inner loop.

We never seem to overflow the source buffer now; this might have been a
leftover from a bug that was covered by Vitaly's fixes?

Removing this conditional makes the resampler 10-20% faster. Left an
assert in there for debug builds, in case this still happens.
     1 #!/bin/sh
     2 find . -type f \( -name '*.user' -o -name '*.sdf' -o -name '*.ncb' -o -name '*.suo' \) -print -delete
     3 find . -type f \( -name '*.bmp' -o -name '*.wav' -o -name '*.dat' \) -print -delete
     4 find . -depth -type d \( -name Win32 -o -name x64 \) -exec rm -rv {} \;