MPF
MPF copied to clipboard
[Problem] Audio CD: Perfect Audio Offset of +0 incorrectly reported for all instances of Perfect Audio Offset
Version What version are you using?
- [X] Stable release (version here)
Build What runtime version are you using?
- [X] .NET 9.0
Describe the issue
Wherever the phrase "Perfect Audio Offset applied" appears in redumper logs, MPF incorrectly adds a line in !submissionInfo.txt to say <b>Ring Perfect Audio Offset</b>: +0
This line should only be added when BOTH "Perfect Audio Offset applied" AND "disc write offset: +0" appear in the logs.
From examination of various sets of dump logs, this behaviour occurs with both positive and negative offsets.
To Reproduce Steps to reproduce the behavior:
- Dump an Audio CD with either a positive or negative offset.
- Check the redumper log to verify that e.g. ""Perfect Audio Offset applied" and "disc write offset: -12" appear
- Check the !submissionInfo.txt file to verify that the line
<b>Ring Perfect Audio Offset</b>: +0appears
Expected behavior
The line <b>Ring Perfect Audio Offset</b>: +0 should only be added when BOTH "Perfect Audio Offset applied" AND "disc write offset: +0" appear in the logs.