On Thu Nov 30 22:00:40 2023 +0000, Zebediah Figura wrote:
This seems unrelated, and what's the motivation?
The motivation is the todo_wine ok(sample_duration == 460000) in the test. If has_duration is false, duration is uninitialized, and occasionally equal to 460000. Making the write conditional allows me to set duration to 1234 in the caller, which is guaranteed not equal to 10000 or 460000.
Unrelated, good point. I'll split it to a separate commit.