bytebeat_compiler.py: fix condition bug
This commit is contained in:
parent
89bc7466ff
commit
8e68c840a1
@ -148,7 +148,7 @@ if __name__ == "__main__":
|
||||
final_sample_rate_code = ""
|
||||
if args.faster_sample_ratio_math:
|
||||
args.precalculate_ratio = True
|
||||
if not args.final_sample_rate is None and not args.precalculate_ratio:
|
||||
if not args.final_sample_rate is None and args.precalculate_ratio:
|
||||
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;"
|
||||
|
Loading…
Reference in New Issue
Block a user