Skip to main content

export_effective_range

Function export_effective_range 

Source
pub fn export_effective_range(
    range: TimeRange,
    frame_rate: FrameRate,
) -> Result<TimeRange, EngineError>
Expand description

Exporter::effective_range of an export of range at frame_rate, for an export that draws no frame: the range its audio covers is the one it would cover with video.

ยงErrors

Returns EngineError::EmptyExportRange for a range that holds no frame, and EngineError::OutOfRange on timeline overflow.