mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 12:19:33 +01:00
ensure that ALL xrun handling is done from the GUI thread
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3487 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
b52004a777
commit
6aa60b4d51
1 changed files with 2 additions and 1 deletions
|
|
@ -2914,7 +2914,6 @@ ARDOUR_UI::keyboard_settings () const
|
|||
void
|
||||
ARDOUR_UI::create_xrun_marker(nframes_t where)
|
||||
{
|
||||
ENSURE_GUI_THREAD (bind(mem_fun(*this, &ARDOUR_UI::create_xrun_marker), where));
|
||||
editor->mouse_add_new_marker (where, false, true);
|
||||
}
|
||||
|
||||
|
|
@ -2929,6 +2928,8 @@ ARDOUR_UI::halt_on_xrun_message ()
|
|||
void
|
||||
ARDOUR_UI::xrun_handler(nframes_t where)
|
||||
{
|
||||
ENSURE_GUI_THREAD (bind(mem_fun(*this, &ARDOUR_UI::xrun_handler), where));
|
||||
|
||||
if (Config->get_create_xrun_marker() && session->actively_recording()) {
|
||||
create_xrun_marker(where);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue