simulate: use same sample encoding as glasgow

This commit is contained in:
Sebastien Bourdeauducq 2019-10-08 15:37:41 +08:00
parent c0abe6539f
commit aa8a2f19d0

View File

@ -11,7 +11,7 @@ fp = os.fdopen(sys.stdout.fileno(), "wb")
while True:
sample = 0
for _ in range(2):
sample <<= 4
sample <<= 2
ref_phase = (ref_phase + ref_ftw) & 0xffffffff
delta = 0