1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-04 15:50:10 +01:00

commit a large patch by Maarten Baert maarten-baert<at>hotmail<dot>com to fix and improve time track support. Several fix-me issues remain but none are new with this patch.

This commit is contained in:
richardash1981
2012-12-19 21:49:25 +00:00
parent 97d967501a
commit 55be06c9e4
16 changed files with 617 additions and 406 deletions

View File

@@ -409,8 +409,9 @@ void TranscriptionToolBar::OnPlaySpeed(wxCommandEvent & event)
}
// Set the speed range
mTimeTrack->SetRangeUpper((long int)mPlaySpeed);
mTimeTrack->SetRangeLower((long int)mPlaySpeed);
//mTimeTrack->SetRangeUpper((double)mPlaySpeed / 100.0);
//mTimeTrack->SetRangeLower((double)mPlaySpeed / 100.0);
mTimeTrack->GetEnvelope()->Flatten((double)mPlaySpeed / 100.0);
// Get the current play region
double playRegionStart, playRegionEnd;
@@ -890,16 +891,3 @@ void TranscriptionToolBar::AdjustPlaySpeed(float adj)
OnSpeedSlider(e);
}
// Indentation settings for Vim and Emacs and unique identifier for Arch, a
// version control system. Please do not modify past this point.
//
// Local Variables:
// c-basic-offset: 3
// indent-tabs-mode: nil
// End:
//
// vim: et sts=3 sw=3
// arch-tag: ToDo