Allow vari-speed slowdown down to 2%

This commit is contained in:
Robin Gareus 2019-11-14 19:39:48 +01:00
parent a666429d12
commit d171bbf337
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -645,7 +645,7 @@ Port::set_state (const XMLNode& node, int)
/*static*/ void
Port::set_speed_ratio (double s) {
/* see VMResampler::set_rratio() for min/max range */
_speed_ratio = std::min ((double) Config->get_max_transport_speed(), std::max (0.5, fabs (s)));
_speed_ratio = std::min ((double) Config->get_max_transport_speed(), std::max (0.02, fabs (s)));
}
/*static*/ void