mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-09-26 16:26:25 +02:00
Fix #8559 Joining is broken for pitched clips when rendering is not required
(cherry picked from commit 22417b60bedbf48574998eef04f9bfa9a531bb12)
This commit is contained in:
committed by
Avery King
parent
00af5e2ca8
commit
ecbb09689a
@@ -1116,9 +1116,11 @@ bool WaveClip::Paste(double t0, const WaveClip& o)
|
||||
|
||||
if (GetSequenceSamplesCount() == 0)
|
||||
{
|
||||
// Empty clip: we're flexible and adopt the other's stretching.
|
||||
mRawAudioTempo = other.mRawAudioTempo;
|
||||
// Empty clip: we're flexible and adopt the other's pitch and stretch.
|
||||
mPitchAndSpeedPreset = other.mPitchAndSpeedPreset;
|
||||
mCentShift = other.mCentShift;
|
||||
mClipStretchRatio = other.mClipStretchRatio;
|
||||
mRawAudioTempo = other.mRawAudioTempo;
|
||||
mProjectTempo = other.mProjectTempo;
|
||||
}
|
||||
else if (!HasEqualPitchAndSpeed(other))
|
||||
|
Reference in New Issue
Block a user