mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
A set-but-invalid value, including an empty one, a non-finite number, a number outside -60 to 0 or trailing text, stops the title with an error naming the variable and the value instead of silently keeping 0 dB. The gain is parsed once when the AudioOut2 context is created, kept in the context and passed to the mix loop, so the audio thread never reads the environment. The one-read rule is pinned end to end: a play that changes the variable to a value that would stop the title after the context was created keeps the parsed fold and never re-reads the environment.