aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/quantize_test.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-12 03:17:47 +0000
committerDavid Robillard <d@drobilla.net>2013-01-12 03:17:47 +0000
commite1a63732f796c8057751cb7f8ac98a595b91692e (patch)
tree764392d055901118ee285dd20f233ff33e0cd04a /src/engine/quantize_test.cpp
parentbb62bf2c23ba84f547e37b70b3ef31b51ba987ab (diff)
downloadmachina-e1a63732f796c8057751cb7f8ac98a595b91692e.tar.gz
machina-e1a63732f796c8057751cb7f8ac98a595b91692e.tar.bz2
machina-e1a63732f796c8057751cb7f8ac98a595b91692e.zip
Bulk reformat.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4929 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/quantize_test.cpp')
-rw-r--r--src/engine/quantize_test.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/quantize_test.cpp b/src/engine/quantize_test.cpp
index 2a2c11a..d690990 100644
--- a/src/engine/quantize_test.cpp
+++ b/src/engine/quantize_test.cpp
@@ -1,5 +1,5 @@
/*
- This file is part of Raul.
+ This file is part of Machina.
Copyright 2007-2012 David Robillard <http://drobilla.net>
Raul is free software: you can redistribute it and/or modify it under the
@@ -30,12 +30,12 @@ main()
TimeStamp beats(TimeUnit(TimeUnit::BEATS, 19200), in);
/*cout << "Q(" << in << ", 1/4) = "
- << quantize(q, beats) << endl;*/
+ << quantize(q, beats) << endl;*/
- if (quantize(q, beats).subticks() % (19200/4) != 0)
+ if (quantize(q, beats).subticks() % (19200 / 4) != 0) {
return 1;
+ }
}
return 0;
}
-