pub fn export_audio_window(
range: TimeRange,
sample_rate: u32,
) -> Result<ExportAudioWindow, EngineError>Expand description
The samples an export over range writes as audio: both ends are the
samples nearest the range’s ends, half a sample rounding up.
Every host places export audio through this, from the export’s
Exporter::effective_range, so the audio starts and ends within half a
sample of the video’s first frame and last frame end on every path that
writes the file.
§Errors
Returns EngineError::OutOfRange when the range does not fit in
memory-addressable samples.