Restore ardour_jack_error.

git-svn-id: svn://localhost/ardour2/branches/3.0@10328 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2011-10-28 17:04:15 +00:00
parent 7bdcc127e3
commit 3379155ef5

View File

@ -135,6 +135,12 @@ _thread_init_callback (void * /*arg*/)
MIDI::Port::set_process_thread (pthread_self());
}
static void
ardour_jack_error (const char* msg)
{
error << "JACK: " << msg << endmsg;
}
void
AudioEngine::set_jack_callbacks ()
{
@ -170,7 +176,7 @@ AudioEngine::set_jack_callbacks ()
jack_set_latency_callback (_priv_jack, _latency_callback, this);
}
// jack_set_error_function (ardour_jack_error);
jack_set_error_function (ardour_jack_error);
}
int