From 297eaeeac40089f1b8540a9a0d949bf0ac2f667d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 1 Feb 2010 22:27:18 +0000 Subject: Make time_test non-interactive for automated testing. git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2400 a436a847-0d15-0410-975c-d299462d15a1 --- test/time_test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/time_test.cpp b/test/time_test.cpp index 2b53207..a7479be 100644 --- a/test/time_test.cpp +++ b/test/time_test.cpp @@ -12,9 +12,7 @@ main() TimeUnit unit(TimeUnit::BEATS, 19200); TimeSlice ts(48000, 19200, 120.0); - double in_double; - cout << "Beats: "; - cin >> in_double; + double in_double = 2.5; TimeStamp t(unit, (uint32_t)in_double, (uint32_t)((in_double - (uint32_t)in_double) * unit.ppt())); -- cgit v1.2.1