summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/time_test.cpp4
1 files changed, 1 insertions, 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()));