Expand the sign bit on the initial MSADPCM delta value
This commit is contained in:
parent
a1c440bd09
commit
fb1f9aad6e
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user