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 = \