mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-17 16:50:26 +02:00
Bug2145: crash ctrl-clicking on play-at-speed button...
... Problem began at commit 46bf5a82fcb20a5ade26c456fec8519172b7bc1d
This commit is contained in:
parent
0b7a4d07b9
commit
748c8d63d8
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user