Fix pan automation
The time-domains need to match in order to use the raw underlying .val() as double for interpolation.
This commit is contained in:
parent
5dd60c03df
commit
fa858a0386
@ -200,8 +200,11 @@ Curve::get_vector (Temporal::timepos_t const & x0, Temporal::timepos_t const & x
|
||||
}
|
||||
|
||||
void
|
||||
Curve::_get_vector (Temporal::timepos_t const & x0, Temporal::timepos_t const & x1, float *vec, int32_t veclen) const
|
||||
Curve::_get_vector (Temporal::timepos_t x0, Temporal::timepos_t x1, float *vec, int32_t veclen) const
|
||||
{
|
||||
x0.set_time_domain (_list.time_domain());
|
||||
x1.set_time_domain (_list.time_domain());
|
||||
|
||||
double rx, lx, hx;
|
||||
const double start = x0.val();
|
||||
const double end = x1.val();
|
||||
|
@ -45,7 +45,7 @@ public:
|
||||
private:
|
||||
double multipoint_eval (Temporal::timepos_t const & x) const;
|
||||
|
||||
void _get_vector (Temporal::timepos_t const & x0, Temporal::timepos_t const & x1, float *arg, int32_t veclen) const;
|
||||
void _get_vector (Temporal::timepos_t x0, Temporal::timepos_t x1, float *arg, int32_t veclen) const;
|
||||
|
||||
mutable bool _dirty;
|
||||
const ControlList& _list;
|
||||
|
Loading…
Reference in New Issue
Block a user