diff options
Diffstat (limited to 'OpenAL32/alBuffer.c')
-rw-r--r-- | OpenAL32/alBuffer.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenAL32/alBuffer.c b/OpenAL32/alBuffer.c index 8f19ae0a..b9d3cd6d 100644 --- a/OpenAL32/alBuffer.c +++ b/OpenAL32/alBuffer.c @@ -1311,6 +1311,7 @@ static void DecodeMSADPCMBlock(ALshort *dst, const ALmsadpcm *src, ALint numchan { delta[i] = *(src++); delta[i] |= *(src++) << 8; + delta[i] = (delta[i]^0x8000) - 0x8000; } for(i = 0;i < numchans;i++) { |