diff --git a/src/java/org/lwjgl/test/openal/BasicTest.java b/src/java/org/lwjgl/test/openal/BasicTest.java index 99a55f98..26fb4f50 100644 --- a/src/java/org/lwjgl/test/openal/BasicTest.java +++ b/src/java/org/lwjgl/test/openal/BasicTest.java @@ -94,6 +94,18 @@ public abstract class BasicTest { return temp.asFloatBuffer(); } + + /** + * Pauses the invoking thread for specified milliseconds + * + * @param time Milliseconds to sleep + */ + protected void pause(long time) { + try { + Thread.sleep(time); + } catch (InterruptedException inte) { + } + } /** * Exits the test NOW, printing errorcode to stdout