mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-04 02:33:14 +01:00
Bug2145: crash ctrl-clicking on play-at-speed button...
... Problem began at commit 46bf5a82fc
This commit is contained in:
@@ -496,6 +496,9 @@ void TranscriptionToolBar::PlayAtSpeed(bool looped, bool cutPreview)
|
|||||||
mEnvelope =
|
mEnvelope =
|
||||||
std::make_unique<BoundedEnvelope>(
|
std::make_unique<BoundedEnvelope>(
|
||||||
true, TIMETRACK_MIN, TIMETRACK_MAX, 1.0);
|
true, TIMETRACK_MIN, TIMETRACK_MAX, 1.0);
|
||||||
|
// values as in the constructor for TimeTrack
|
||||||
|
mEnvelope->SetRangeLower( 0.9 );
|
||||||
|
mEnvelope->SetRangeUpper( 1.1 );
|
||||||
}
|
}
|
||||||
// Set the speed range
|
// Set the speed range
|
||||||
//mTimeTrack->SetRangeUpper((double)mPlaySpeed / 100.0);
|
//mTimeTrack->SetRangeUpper((double)mPlaySpeed / 100.0);
|
||||||
|
|||||||
Reference in New Issue
Block a user