Bug 1806 - Extreme negative settings in Change Tempo cause an "apparent" hang/freeze

Limit percentage to -95 to +3000.  Result will be at most 20x longer rather than previous
up to 100x longer.  Extreme stretches have artifacts in any case (try with DTMF).
This commit is contained in:
James Crook 2018-03-24 12:13:20 +00:00
parent 0fb08f74c8
commit 22cb84ff23
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ enum
// Define keys, defaults, minimums, and maximums for the effect parameters
//
// Name Type Key Def Min Max Scale
Param( Percentage, double, wxT("Percentage"), 0.0, -99.0, 3000.0, 1 );
Param( Percentage, double, wxT("Percentage"), 0.0, -95.0, 3000.0, 1 );
Param( UseSBSMS, bool, wxT("SBSMS"), false, false, true, 1 );
// We warp the slider to go up to 400%, but user can enter higher values.