mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-07 06:55:52 +01:00
Unitary fixes (#598)
* Eliminate unneeded back-pointer to project from non-wave Tracks... ... now that DirManager is gone * Remove unused declarations * SampleData::mProject was not used * Correct ProjectFileIO::GetLibraryError * Remove unnecessary #include directives
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
|
||||
std::shared_ptr<TimeTrack> TrackFactory::NewTimeTrack()
|
||||
{
|
||||
return std::make_shared<TimeTrack>(&mProject, mZoomInfo);
|
||||
return std::make_shared<TimeTrack>(mZoomInfo);
|
||||
}
|
||||
|
||||
static ProjectFileIORegistry::Entry registerFactory{
|
||||
@@ -53,8 +53,8 @@ static ProjectFileIORegistry::Entry registerFactory{
|
||||
}
|
||||
};
|
||||
|
||||
TimeTrack::TimeTrack(AudacityProject *project, const ZoomInfo *zoomInfo):
|
||||
Track(project)
|
||||
TimeTrack::TimeTrack(const ZoomInfo *zoomInfo):
|
||||
Track()
|
||||
, mZoomInfo(zoomInfo)
|
||||
{
|
||||
mEnvelope = std::make_unique<BoundedEnvelope>(true, TIMETRACK_MIN, TIMETRACK_MAX, 1.0);
|
||||
|
||||
Reference in New Issue
Block a user