summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-01 22:27:18 +0000
committerDavid Robillard <d@drobilla.net>2010-02-01 22:27:18 +0000
commit297eaeeac40089f1b8540a9a0d949bf0ac2f667d (patch)
tree633772287976bb550cdd0d7b57e5526eb06aeca3 /test
parentec03b29b4929b6023d1c290dfe0a4471ea048564 (diff)
downloadraul-297eaeeac40089f1b8540a9a0d949bf0ac2f667d.tar.gz
raul-297eaeeac40089f1b8540a9a0d949bf0ac2f667d.tar.bz2
raul-297eaeeac40089f1b8540a9a0d949bf0ac2f667d.zip
Make time_test non-interactive for automated testing.
git-svn-id: http://svn.drobilla.net/lad/trunk/raul@2400 a436a847-0d15-0410-975c-d299462d15a1
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()));