bytebeat_compiler.py: rename w
to time
This commit is contained in:
parent
f862603642
commit
3bab4c8373
@ -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 = \
|
||||
|
Loading…
Reference in New Issue
Block a user