Fix evoral test suite.
This commit is contained in:
parent
25efe5953c
commit
7a3c54f031
|
@ -107,7 +107,6 @@ SequenceTest::controlInterpolationTest ()
|
|||
|
||||
double min = 0.0;
|
||||
double max = 127.0;
|
||||
double normal = 0.0;
|
||||
|
||||
// Make a ramp like /\ from min to max and back to min
|
||||
c->set_double(min, 0, true);
|
||||
|
|
|
@ -39,6 +39,10 @@ public:
|
|||
};
|
||||
}
|
||||
|
||||
ParameterDescriptor descriptor(const Parameter& param) const {
|
||||
return ParameterDescriptor();
|
||||
}
|
||||
|
||||
std::string to_symbol(const Parameter& /*param*/) const { return "control"; }
|
||||
};
|
||||
|
||||
|
@ -48,11 +52,9 @@ public:
|
|||
MySequence(DummyTypeMap&map) : Sequence<Time>(map) {}
|
||||
|
||||
boost::shared_ptr<Control> control_factory(const Parameter& param) {
|
||||
|
||||
return boost::shared_ptr<Control>(
|
||||
new Control(param, boost::shared_ptr<ControlList> (
|
||||
new ControlList(param)
|
||||
)));
|
||||
const Evoral::ParameterDescriptor desc;
|
||||
boost::shared_ptr<ControlList> list(new ControlList(param, desc));
|
||||
return boost::shared_ptr<Control>(new Control(param, desc, list));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user