Expand the sign bit on the initial MSADPCM delta value

This commit is contained in:
Chris Robinson 2014-03-05 00:30:23 -08:00
parent a1c440bd09
commit fb1f9aad6e

View File

@ -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++)
{