1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 00:23:32 +02:00

Preliminaries for bug 900

Create WaveTrackCache as a utility class but don't use it anywhere yet.

The possible minor performance problem with effects is fixed by changes
in WaveTrack::GetBestBlockSize().
This commit is contained in:
Paul-Licameli
2015-03-28 14:46:40 -04:00
committed by Paul Licameli
parent 16e0fe3e12
commit bdc2839112
17 changed files with 365 additions and 60 deletions

View File

@@ -43,11 +43,11 @@ class TimeTrack: public Track {
// TimeTrack parameters
virtual double GetOffset() { return 0.0; };
virtual void SetOffset(double /* t */) {};
virtual double GetOffset() const { return 0.0; }
virtual void SetOffset(double /* t */) {}
virtual double GetStartTime() { return 0.0; };
virtual double GetEndTime() { return 0.0; };
virtual double GetStartTime() const { return 0.0; }
virtual double GetEndTime() const { return 0.0; }
void Draw(wxDC & dc, const wxRect & r, double h, double pps);