mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-04 04:39:33 +01:00
skip unavailable backends early on.
This commit is contained in:
parent
d991bb10ca
commit
9a60bb58b2
1 changed files with 5 additions and 2 deletions
|
|
@ -700,11 +700,14 @@ AudioEngine::backend_discover (const string& path)
|
|||
error << Glib::Module::get_last_error() << endmsg;
|
||||
return 0;
|
||||
}
|
||||
|
||||
module.make_resident ();
|
||||
|
||||
dfunc = (AudioBackendInfo* (*)(void))func;
|
||||
info = dfunc();
|
||||
if (!info->available()) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
module.make_resident ();
|
||||
|
||||
return info;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue