Barely-functioning GL playback with new arrangement.
[dcpomatic.git] / src / lib / cross.cc
index 8d82f7a51bcde1a17ea077eb32060ad85a305e38..5d35d5a4bbcb28da70ca7b77f0ceec678c1a826e 100644 (file)
@@ -75,6 +75,17 @@ dcpomatic_sleep_seconds (int s)
 #endif
 }
 
+void
+dcpomatic_sleep_milliseconds (int ms)
+{
+#ifdef DCPOMATIC_POSIX
+       usleep (ms * 1000);
+#endif
+#ifdef DCPOMATIC_WINDOWS
+       Sleep (ms);
+#endif
+}
+
 /** @return A string of CPU information (model name etc.) */
 string
 cpu_info ()