mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-07 06:55:52 +01:00
AUP3: First round of updates
!!! THERE WILL NO DOUBT BE BUGS !!! This is a big one and there's still several things to complete. Just want to get this in the wild to start receiving feedback. One big thing right now is that it will NOT load pre-aup3 files. An importer is on the way for that.
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
std::shared_ptr<TimeTrack> TrackFactory::NewTimeTrack()
|
||||
{
|
||||
return std::make_shared<TimeTrack>(mDirManager, mZoomInfo);
|
||||
return std::make_shared<TimeTrack>(&mProject, mZoomInfo);
|
||||
}
|
||||
|
||||
static ProjectFileIORegistry::Entry registerFactory{
|
||||
@@ -53,8 +53,8 @@ static ProjectFileIORegistry::Entry registerFactory{
|
||||
}
|
||||
};
|
||||
|
||||
TimeTrack::TimeTrack(const std::shared_ptr<DirManager> &projDirManager, const ZoomInfo *zoomInfo):
|
||||
Track(projDirManager)
|
||||
TimeTrack::TimeTrack(AudacityProject *project, const ZoomInfo *zoomInfo):
|
||||
Track(project)
|
||||
, mZoomInfo(zoomInfo)
|
||||
{
|
||||
mEnvelope = std::make_unique<BoundedEnvelope>(true, TIMETRACK_MIN, TIMETRACK_MAX, 1.0);
|
||||
|
||||
Reference in New Issue
Block a user