aboutsummaryrefslogtreecommitdiffstats
path: root/al/buffer.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2019-09-13 14:44:52 -0700
committerChris Robinson <[email protected]>2019-09-13 14:44:52 -0700
commit42ae95b8fafb0ea1fa676b1e0f67b23fd375a817 (patch)
tree5531a7882f7d251cf68d80ab1a0bc09ffa2c83da /al/buffer.cpp
parenta250b6a98639571eedcaaf858d014d22eb008999 (diff)
Remove a couple no-op statements
Diffstat (limited to 'al/buffer.cpp')
-rw-r--r--al/buffer.cpp2
1 files changed, 0 insertions, 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<ALshort>(al::to_integer<int>(src[0]) |
(al::to_integer<int>(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<ALshort>(al::to_integer<int>(src[0]) |
(al::to_integer<int>(src[1])<<8));
- samples[c][1] = (samples[c][1]^0x8000) - 32768;
src += 2;
}