1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-19 17:40:15 +02:00

Commented out some unused functions

This commit is contained in:
Paul Licameli 2016-02-26 10:39:39 -05:00
parent 89f28546a3
commit 4a6fd96a97
3 changed files with 4 additions and 2 deletions

View File

@ -558,6 +558,7 @@ bool WaveTrack::SplitCut(double t0, double t1, Track **dest)
return SplitDelete(t0, t1); return SplitDelete(t0, t1);
} }
#if 0
bool WaveTrack::CutAndAddCutLine(double t0, double t1, Track **dest) bool WaveTrack::CutAndAddCutLine(double t0, double t1, Track **dest)
{ {
if (t1 < t0) if (t1 < t0)
@ -568,6 +569,7 @@ bool WaveTrack::CutAndAddCutLine(double t0, double t1, Track **dest)
return false; return false;
return ClearAndAddCutLine(t0, t1); return ClearAndAddCutLine(t0, t1);
} }
#endif

View File

@ -168,7 +168,7 @@ class AUDACITY_DLL_API WaveTrack final : public Track {
virtual bool SplitAt(double t); virtual bool SplitAt(double t);
virtual bool Split( double t0, double t1 ); virtual bool Split( double t0, double t1 );
virtual bool CutAndAddCutLine(double t0, double t1, Track **dest); // bool CutAndAddCutLine(double t0, double t1, Track **dest);
virtual bool ClearAndAddCutLine(double t0, double t1); virtual bool ClearAndAddCutLine(double t0, double t1);
virtual bool SplitCut (double t0, double t1, Track **dest); virtual bool SplitCut (double t0, double t1, Track **dest);

View File

@ -116,7 +116,7 @@ class ODDecodeBlockFile final : public SimpleBlockFile
///Returns the type of audiofile this blockfile is loaded from. ///Returns the type of audiofile this blockfile is loaded from.
virtual unsigned int GetDecodeType(){return mType;} virtual unsigned int GetDecodeType(){return mType;}
virtual void SetDecodeType(unsigned int type){mType=type;} // virtual void SetDecodeType(unsigned int type){mType=type;}
///sets the amount of samples the clip associated with this blockfile is offset in the wavetrack (non effecting) ///sets the amount of samples the clip associated with this blockfile is offset in the wavetrack (non effecting)
void SetClipOffset(sampleCount numSamples){mClipOffset= numSamples;} void SetClipOffset(sampleCount numSamples){mClipOffset= numSamples;}