13
0

use CubicSpline interpolation for x-fade preset Shapes

This commit is contained in:
Robin Gareus 2014-05-30 17:24:12 +02:00
parent c91f847454
commit 62e8d1a25f

View File

@ -1043,6 +1043,9 @@ AudioRegion::set_fade_in (FadeShape shape, framecnt_t len)
break;
}
_fade_in->set_interpolation(Evoral::ControlList::Curved);
_inverse_fade_in->set_interpolation(Evoral::ControlList::Curved);
_default_fade_in = false;
_fade_in->thaw ();
send_change (PropertyChange (Properties::fade_in));
@ -1117,6 +1120,9 @@ AudioRegion::set_fade_out (FadeShape shape, framecnt_t len)
break;
}
_fade_out->set_interpolation(Evoral::ControlList::Curved);
_inverse_fade_out->set_interpolation(Evoral::ControlList::Curved);
_default_fade_out = false;
_fade_out->thaw ();
send_change (PropertyChange (Properties::fade_out));