calculatedDuration

The calculated duration based on frame count and sample rate. Falls back to the provided duration if available.

Uses safe arithmetic to avoid overflow for long recordings.