mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-05 03:03:10 +01:00
Envelope::Paste takes a time tolerance argument
This commit is contained in:
@@ -122,7 +122,9 @@ void TimeTrack::Paste(double t, const Track * src)
|
||||
// THROW_INCONSISTENCY_EXCEPTION; // ?
|
||||
return;
|
||||
|
||||
mEnvelope->Paste(t, static_cast<const TimeTrack*>(src)->mEnvelope.get());
|
||||
auto sampleTime = 1.0 / GetActiveProject()->GetRate();
|
||||
mEnvelope->Paste
|
||||
(t, static_cast<const TimeTrack*>(src)->mEnvelope.get(), sampleTime);
|
||||
}
|
||||
|
||||
void TimeTrack::Silence(double t0, double t1)
|
||||
|
||||
Reference in New Issue
Block a user