From 3bab4c8373200c3621df2410d5635264e33f708d Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 19 May 2024 20:44:23 +0300 Subject: [PATCH] bytebeat_compiler.py: rename `w` to `time` --- bytebeat_compiler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index ed2d225..1761328 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -165,10 +165,10 @@ if __name__ == "__main__": if args.precalculate_ratio and not args.final_sample_rate is None: if args.faster_sample_ratio_math: sample_rate_ratio = args.sample_rate / args.final_sample_rate - final_sample_rate_code = f"w *= {sample_rate_ratio}L;" + final_sample_rate_code = f"time *= {sample_rate_ratio}L;" else: sample_rate_ratio = args.final_sample_rate / args.sample_rate - final_sample_rate_code = f"w /= {sample_rate_ratio}L;" + final_sample_rate_code = f"time /= {sample_rate_ratio}L;" args.sample_rate = args.final_sample_rate final_sample_rate = \