projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccaa29d
)
Use Glib::usleep for portability
author
Tim Mayberry
<mojofunk@gmail.com>
Sat, 20 Jul 2013 00:26:30 +0000
(10:26 +1000)
committer
Tim Mayberry
<mojofunk@gmail.com>
Mon, 22 Jul 2013 03:44:32 +0000
(13:44 +1000)
gtk2_ardour/video_monitor.cc
patch
|
blob
|
history
diff --git
a/gtk2_ardour/video_monitor.cc
b/gtk2_ardour/video_monitor.cc
index 2c265365faa9d786f6ad7e8bf8e938e18ba767ea..ae4d5faacc2ce008d230d818e2024a6de6fe2e96 100644
(file)
--- a/
gtk2_ardour/video_monitor.cc
+++ b/
gtk2_ardour/video_monitor.cc
@@
-94,7
+94,7
@@
VideoMonitor::query_full_state (bool wait)
process->write_to_stdin("get osdcfg\n");
int timeout = 40;
if (wait && knownstate !=127 && --timeout) {
- usleep(50000);
+
Glib::
usleep(50000);
sched_yield();
}
}
@@
-113,7
+113,7
@@
VideoMonitor::quit ()
*/
int timeout = 40;
while (is_started() && --timeout) {
- usleep(50000);
+
Glib::
usleep(50000);
sched_yield();
}
if (timeout <= 0) {