mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
Wrap MusicalTime in a class.
This lets us get a more explicit handle on time conversions, and is the main step towards using actual beat:tick time and getting away from floating point precision problems.
This commit is contained in:
parent
cae74309a5
commit
c1cfa12d6e
44 changed files with 519 additions and 326 deletions
|
|
@ -21,6 +21,7 @@
|
|||
#include <sigc++/sigc++.h>
|
||||
#include <cppunit/TestFixture.h>
|
||||
#include <cppunit/extensions/HelperMacros.h>
|
||||
#include "evoral/types.hpp"
|
||||
#include "evoral/SMF.hpp"
|
||||
#include "SequenceTest.hpp"
|
||||
|
||||
|
|
@ -56,7 +57,7 @@ class SMFTest : public CppUnit::TestFixture
|
|||
CPPUNIT_TEST_SUITE_END();
|
||||
|
||||
public:
|
||||
typedef double Time;
|
||||
typedef Evoral::MusicalTime Time;
|
||||
|
||||
void setUp() {
|
||||
type_map = new DummyTypeMap();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue