mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 08:14:58 +01:00
Fix evoral test suite.
This commit is contained in:
parent
25efe5953c
commit
7a3c54f031
2 changed files with 7 additions and 6 deletions
|
|
@ -107,7 +107,6 @@ SequenceTest::controlInterpolationTest ()
|
||||||
|
|
||||||
double min = 0.0;
|
double min = 0.0;
|
||||||
double max = 127.0;
|
double max = 127.0;
|
||||||
double normal = 0.0;
|
|
||||||
|
|
||||||
// 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_double(min, 0, true);
|
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"; }
|
std::string to_symbol(const Parameter& /*param*/) const { return "control"; }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -48,11 +52,9 @@ public:
|
||||||
MySequence(DummyTypeMap&map) : Sequence<Time>(map) {}
|
MySequence(DummyTypeMap&map) : Sequence<Time>(map) {}
|
||||||
|
|
||||||
boost::shared_ptr<Control> control_factory(const Parameter& param) {
|
boost::shared_ptr<Control> control_factory(const Parameter& param) {
|
||||||
|
const Evoral::ParameterDescriptor desc;
|
||||||
return boost::shared_ptr<Control>(
|
boost::shared_ptr<ControlList> list(new ControlList(param, desc));
|
||||||
new Control(param, boost::shared_ptr<ControlList> (
|
return boost::shared_ptr<Control>(new Control(param, desc, list));
|
||||||
new ControlList(param)
|
|
||||||
)));
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue