1
0
Fork 0

Log which backend is used in auto mode

This commit is contained in:
Robbert van der Helm 2022-06-14 19:03:36 +02:00
parent 7e0caa4c8d
commit 73d3281816

View file

@ -71,7 +71,10 @@ pub fn nih_export_standalone_with_args<P: Plugin, Args: IntoIterator<Item = Stri
match config.backend {
config::BackendType::Auto => match backend::Jack::new(P::NAME, config.clone()) {
Ok(backend) => run_wrapper::<P, _>(backend, config),
Ok(backend) => {
nih_info!("Using the JACK backend");
run_wrapper::<P, _>(backend, config)
}
Err(_) => {
nih_log!("Could not initialize JACK, falling back to the dummy audio backend");
run_wrapper::<P, _>(backend::Dummy::new(config.clone()), config)