projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5d9eeb
)
make timefx thread sleep for a bit after its done, so that the GUI can process its...
author
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 26 Apr 2011 15:13:40 +0000
(15:13 +0000)
committer
Paul Davis
<paul@linuxaudiosystems.com>
Tue, 26 Apr 2011 15:13:40 +0000
(15:13 +0000)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@9430
d708f5d6
-7413-0410-9779-
e7cbd77b26cf
gtk2_ardour/editor_timefx.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/editor_timefx.cc
b/gtk2_ardour/editor_timefx.cc
index 543c1821e0ac367936150eeb4e79b55220121cd0..2b1ad3cbc2f6172f5067f9ab364be7bd28ff3bff 100644
(file)
--- a/
gtk2_ardour/editor_timefx.cc
+++ b/
gtk2_ardour/editor_timefx.cc
@@
-20,6
+20,7
@@
#include <iostream>
#include <cstdlib>
#include <cmath>
+#include <ctime>
#include <string>
@@
-442,6
+443,14
@@
Editor::timefx_thread (void *arg)
tsd->editor.do_timefx (*tsd);
+ /* GACK! HACK! sleep for a bit so that our request buffer for the GUI
+ event loop doesn't die before any changes we made are processed
+ by the GUI ...
+ */
+
+ struct timespec t = { 2, 0 };
+ nanosleep (&t, 0);
+
return 0;
}