Log which backend is used in auto mode
This commit is contained in:
parent
7e0caa4c8d
commit
73d3281816
1 changed files with 4 additions and 1 deletions
|
@ -71,7 +71,10 @@ pub fn nih_export_standalone_with_args<P: Plugin, Args: IntoIterator<Item = Stri
|
||||||
|
|
||||||
match config.backend {
|
match config.backend {
|
||||||
config::BackendType::Auto => match backend::Jack::new(P::NAME, config.clone()) {
|
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(_) => {
|
Err(_) => {
|
||||||
nih_log!("Could not initialize JACK, falling back to the dummy audio backend");
|
nih_log!("Could not initialize JACK, falling back to the dummy audio backend");
|
||||||
run_wrapper::<P, _>(backend::Dummy::new(config.clone()), config)
|
run_wrapper::<P, _>(backend::Dummy::new(config.clone()), config)
|
||||||
|
|
Loading…
Add table
Reference in a new issue