mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
Fix test compile.
git-svn-id: svn://localhost/ardour2/branches/3.0@7516 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
32b2ddd24a
commit
623f37fd36
1 changed files with 5 additions and 5 deletions
|
|
@ -99,7 +99,7 @@ SequenceTest::controlInterpolationTest ()
|
||||||
seq->notes().insert(*i);
|
seq->notes().insert(*i);
|
||||||
}
|
}
|
||||||
|
|
||||||
static const FrameTime delay = 1000;
|
static const uint64_t delay = 1000;
|
||||||
static const uint32_t cc_type = 1;
|
static const uint32_t cc_type = 1;
|
||||||
|
|
||||||
boost::shared_ptr<Control> c = seq->control(MIDI::ContinuousController(cc_type, 1, 1), true);
|
boost::shared_ptr<Control> c = seq->control(MIDI::ContinuousController(cc_type, 1, 1), true);
|
||||||
|
|
@ -109,9 +109,9 @@ SequenceTest::controlInterpolationTest ()
|
||||||
MIDI::controller_range(min, max, normal);
|
MIDI::controller_range(min, max, normal);
|
||||||
|
|
||||||
// Make a ramp like /\ from min to max and back to min
|
// Make a ramp like /\ from min to max and back to min
|
||||||
c->set_float(min, true, 0);
|
c->set_double(min, true, 0);
|
||||||
c->set_float(max, true, delay);
|
c->set_double(max, true, delay);
|
||||||
c->set_float(min, true, 2*delay);
|
c->set_double(min, true, 2*delay);
|
||||||
|
|
||||||
CCTestSink<Time> sink(cc_type);
|
CCTestSink<Time> sink(cc_type);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue