change return type on ARDOUR::cleanup() since nobody cares what it returns
This commit is contained in:
parent
c727d18b80
commit
f1b2674d9b
@ -60,7 +60,7 @@ namespace ARDOUR {
|
|||||||
*/
|
*/
|
||||||
bool init (bool with_vst, bool try_optimization, const char* localedir);
|
bool init (bool with_vst, bool try_optimization, const char* localedir);
|
||||||
void init_post_engine ();
|
void init_post_engine ();
|
||||||
int cleanup ();
|
void cleanup ();
|
||||||
bool no_auto_connect ();
|
bool no_auto_connect ();
|
||||||
void make_property_quarks ();
|
void make_property_quarks ();
|
||||||
|
|
||||||
|
@ -354,9 +354,15 @@ ARDOUR::init_post_engine ()
|
|||||||
ARDOUR::PluginManager::instance().refresh ();
|
ARDOUR::PluginManager::instance().refresh ();
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
void
|
||||||
ARDOUR::cleanup ()
|
ARDOUR::cleanup ()
|
||||||
{
|
{
|
||||||
|
if (!libardour_initialized) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
ARDOUR::AudioEngine::destroy ();
|
||||||
|
|
||||||
delete Library;
|
delete Library;
|
||||||
lrdf_cleanup ();
|
lrdf_cleanup ();
|
||||||
delete &ControlProtocolManager::instance();
|
delete &ControlProtocolManager::instance();
|
||||||
@ -368,7 +374,8 @@ ARDOUR::cleanup ()
|
|||||||
vstfx_exit();
|
vstfx_exit();
|
||||||
#endif
|
#endif
|
||||||
PBD::cleanup ();
|
PBD::cleanup ();
|
||||||
return 0;
|
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user