mirror of
https://codeberg.org/tenacityteam/tenacity
synced 2025-10-10 02:32:30 +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)
|
if (GetSequenceSamplesCount() == 0)
|
||||||
{
|
{
|
||||||
// Empty clip: we're flexible and adopt the other's stretching.
|
// Empty clip: we're flexible and adopt the other's pitch and stretch.
|
||||||
mRawAudioTempo = other.mRawAudioTempo;
|
mPitchAndSpeedPreset = other.mPitchAndSpeedPreset;
|
||||||
|
mCentShift = other.mCentShift;
|
||||||
mClipStretchRatio = other.mClipStretchRatio;
|
mClipStretchRatio = other.mClipStretchRatio;
|
||||||
|
mRawAudioTempo = other.mRawAudioTempo;
|
||||||
mProjectTempo = other.mProjectTempo;
|
mProjectTempo = other.mProjectTempo;
|
||||||
}
|
}
|
||||||
else if (!HasEqualPitchAndSpeed(other))
|
else if (!HasEqualPitchAndSpeed(other))
|
||||||
|
Reference in New Issue
Block a user