(libs) call ARDOUR::init_post_engine() from within libardour rather than requiring "users" of the library to arrange for it

This commit is contained in:
Paul Davis 2019-01-16 15:29:25 -06:00
parent 4c064081af
commit c60d8cf747
4 changed files with 4 additions and 16 deletions

View file

@ -139,8 +139,6 @@ static Session * _load_session (string dir, string state)
return 0;
}
init_post_engine ();
if (engine->start () != 0) {
std::cerr << "Cannot start Audio/MIDI engine\n";
return 0;
@ -194,8 +192,6 @@ SessionUtils::create_session (string dir, string state, float sample_rate)
return 0;
}
init_post_engine ();
if (engine->start () != 0) {
std::cerr << "Cannot start Audio/MIDI engine\n";
return 0;