MCP: register thread with GUI and create session event pool
git-svn-id: svn://localhost/ardour2/branches/3.0@11853 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
57a046804c
commit
62afe207d2
@ -130,6 +130,13 @@ MackieControlProtocol::~MackieControlProtocol()
|
||||
DEBUG_TRACE (DEBUG::MackieControl, "finished ~MackieControlProtocol::MackieControlProtocol\n");
|
||||
}
|
||||
|
||||
void
|
||||
MackieControlProtocol::thread_init ()
|
||||
{
|
||||
PBD::notify_gui_about_thread_creation (X_("gui"), pthread_self(), X_("MackieControl"), 2048);
|
||||
ARDOUR::SessionEvent::create_per_thread_pool (X_("MackieControl"), 128);
|
||||
}
|
||||
|
||||
Mackie::Surface&
|
||||
MackieControlProtocol::surface()
|
||||
{
|
||||
|
@ -373,6 +373,8 @@ class MackieControlProtocol
|
||||
void do_request (MackieControlUIRequest*);
|
||||
int stop ();
|
||||
|
||||
void thread_init ();
|
||||
|
||||
private:
|
||||
|
||||
void port_connected_or_disconnected (std::string, std::string, bool);
|
||||
|
Loading…
Reference in New Issue
Block a user