summaryrefslogtreecommitdiff
path: root/test/kdm_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-11-29 20:57:57 +0100
committerCarl Hetherington <cth@carlh.net>2020-11-29 20:57:57 +0100
commite116649cb93e7784601c1c55b2f3c8cf32099abf (patch)
treefa7083326332e9a0cb7c6e6795f98396b25f4f86 /test/kdm_test.cc
parent54d45efaa9913191806144d99868a6edbe8c488c (diff)
Fix terrible SoundAsset::equals() implementation.
It would check individual bytes of samples to see if they differed by more than the threshold. Not only is this almost useless, but the default threshold is 256 so with the default settings it would always say that two assets of the same length (and channels, etc.) were the same, even if the sample data was different.
Diffstat (limited to 'test/kdm_test.cc')
0 files changed, 0 insertions, 0 deletions