improved sound decoding

This commit is contained in:
z_demo_z
2001-08-15 22:09:45 +00:00
parent 229a63eaa3
commit 1b9721cd68

View File

@@ -1732,7 +1732,6 @@ NEWSYM LPFsample2, dd 0
add edx,eax add edx,eax
mov eax,[prev0] mov eax,[prev0]
mov [prev0],edx
mov [prev1],eax mov [prev1],eax
cmp edx,-32768 cmp edx,-32768
jnl %%notless jnl %%notless
@@ -1744,6 +1743,8 @@ NEWSYM LPFsample2, dd 0
mov edx,32767 mov edx,32767
mov byte[filteron],1 mov byte[filteron],1
%%notgreater %%notgreater
movsx edx,dx
mov [prev0],edx
%endmacro %endmacro
NEWSYM lastblockbrr, times 8 dd 0 NEWSYM lastblockbrr, times 8 dd 0