1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-05-01 16:19:43 +02:00

Comment aids reasoning about preconditions for Sequence methods

This commit is contained in:
Paul Licameli 2017-11-20 13:05:15 -05:00
parent 430bd12304
commit 21787621f3

View File

@ -204,7 +204,10 @@ public:
void ConvertToSampleFormat(sampleFormat format);
// Always gives non-negative answer, not more than sample sequence length
// even if t0 really falls outside that range
void TimeToSamplesClip(double t0, sampleCount *s0) const;
int GetRate() const { return mRate; }
// Set rate without resampling. This will change the length of the clip