From aa8a2f19d0bfc6463d3b616de62e1659d5c3efed Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 8 Oct 2019 15:37:41 +0800 Subject: [PATCH] simulate: use same sample encoding as glasgow --- simulate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulate.py b/simulate.py index 64ca374..948442b 100644 --- a/simulate.py +++ b/simulate.py @@ -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