#include "ardour/rc_configuration.h"
#include "ardour/runtime_functions.h"
#include "ardour/session.h"
+#include "ardour/session_event.h"
#include "ardour/source_factory.h"
#include "ardour/utils.h"
sigc::signal<void,std::string> ARDOUR::BootMessage;
+void ARDOUR::setup_enum_writer ();
+
int
ARDOUR::setup_midi ()
{
int
ARDOUR::init (bool use_vst, bool try_optimization)
{
- if (!Glib::thread_supported())
+ if (!Glib::thread_supported()) {
Glib::thread_init();
+ }
- PBD::ID::init ();
+ (void) bindtextdomain(PACKAGE, LOCALEDIR);
- extern void setup_enum_writer ();
+ PBD::ID::init ();
+ SessionEvent::init_event_pool ();
- (void) bindtextdomain(PACKAGE, LOCALEDIR);
/* provide a state version for the few cases that need it and are not
driven by reading state from disk (e.g. undo/redo)