Skip to main content

export_audio_window

Function export_audio_window 

Source
pub fn export_audio_window(
    range: TimeRange,
    sample_rate: u32,
) -> Result<ExportAudioWindow, EngineError>
Expand description

The audio samples an export over range writes: each end is the nearest sample, halves rounding up.

Every host places export audio through this from Exporter::effective_range, so audio stays within half a sample of the video on every output path.

ยงErrors

Returns EngineError::OutOfRange when the range does not fit in memory-addressable samples.