/// Start the offline rendering command, rendering to an output file
Start the offline rendering command, rendering to an output file
Start the offline rendering command rendering to an output file
fn run_offline_rendering(run_options: RunOptions) {
    log::info!("Running offline rendering");
    let output_file_path = run_options.output_audio().clone().unwrap();
    let (audio_settings, _) = get_audio_options(&run_options);
    let offline_renderer = OfflineRenderer::new(
        audio_settings,
        &run_options
            .input_audio()
            .clone()
            .expect("The \"--input\" flag is required for offline rendering"),
        &output_file_path,
        run_options.plugin_path(),
    );
    offline_renderer.run().expect("Failed to render audio");
}
fn run_offline_rendering ( run_options : RunOptions ) { log :: info ! ( " " ) ; let output_file_path = run_options . output_audio ( ) . clone ( ) . unwrap ( ) ; let ( audio_settings , _ ) = get_audio_options ( & run_options ) ; let offline_renderer = OfflineRenderer :: new ( audio_settings , & run_options . input_audio ( ) . clone ( ) . expect ( " \" \" " ) , & output_file_path , run_options . plugin_path ( ) , ) ; offline_renderer . run ( ) . expect ( " " ) ; }
Start the offline rendering command, rendering to an output file
Start the offline rendering command rendering to an output file
run_options
RunOptions