build-scripts/showrev.sh
author Ryan C. Gordon
Fri, 20 Jan 2017 16:26:24 -0500
changeset 10830 92013fad89d1
parent 10420 0d91817f35e9
child 13711 a375181874ce
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.
slouken@2982
     1
#!/bin/sh
slouken@2982
     2
#
slouken@2982
     3
# Print the current source revision, if available
slouken@2982
     4
slouken@10420
     5
hg parents --template 'hg-{rev}:{node|short}' || (echo "hg-0:baadf00d"; exit 1)