fn run_load_audio_file(run_options: &RunOptions, host: &mut TestPluginHost) {
    if let Some(input_audio) = run_options.input_audio() {
        if let Err(err) = host.set_audio_file_path(PathBuf::from(input_audio)) {
            log::error!("Failed to set input file-path {}", err);
            exit(1);
        }
    }
}
/// Load the audio input file & exit the process on failure
Load the audio input file & exit the process on failure
Load the audio input file & exit the process on failure
fn run_load_audio_file(run_options: &RunOptions, host: &mut TestPluginHost) {
    if let Some(input_audio) = run_options.input_audio() {
        if let Err(err) = host.set_audio_file_path(PathBuf::from(input_audio)) {
            log::error!("Failed to set input file-path {}", err);
            exit(1);
        }
    }
}
fn run_load_audio_file ( run_options : & RunOptions , host : & mut TestPluginHost ) { if let Some ( input_audio ) = run_options . input_audio ( ) { if let Err ( err ) = host . set_audio_file_path ( PathBuf :: from ( input_audio ) ) { log :: error ! ( " " err ) ; exit ( 1 ) ; } } }
Load the audio input file & exit the process on failure
Load the audio input file & exit the process on failure
run_options
&RunOptions
host
&mut TestPluginHost
run_options
&RunOptions
host
&mut TestPluginHost