From 42ae95b8fafb0ea1fa676b1e0f67b23fd375a817 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Fri, 13 Sep 2019 14:44:52 -0700 Subject: [PATCH] Remove a couple no-op statements --- al/buffer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/al/buffer.cpp b/al/buffer.cpp index 42db68a8..f1f792e9 100644 --- a/al/buffer.cpp +++ b/al/buffer.cpp @@ -166,14 +166,12 @@ void DecodeMSADPCMBlock(ALshort *dst, const al::byte *src, size_t numchans, size { samples[c][0] = static_cast(al::to_integer(src[0]) | (al::to_integer(src[1])<<8)); - samples[c][0] = (samples[c][0]^0x8000) - 32768; src += 2; } for(size_t c{0};c < numchans;c++) { samples[c][1] = static_cast(al::to_integer(src[0]) | (al::to_integer(src[1])<<8)); - samples[c][1] = (samples[c][1]^0x8000) - 32768; src += 2; }