Skip to content

Commit

Permalink
Second small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulFreund committed Nov 14, 2023
1 parent 7c782d9 commit 779cc2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deluge/model/clip/audio_clip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ void AudioClip::render(ModelStackWithTimelineCounter* modelStack, int32_t* outpu
//if ((sampleLengthInSamples >> 5) > clipLengthInSamples) return false;

uint64_t requiredSpeedAdjustment =
(uint64_t)((double)((uint64_t)sampleLengthInSamples << 24)) / (double)clipLengthInSamples;
(uint64_t)(((double)((uint64_t)sampleLengthInSamples << 24)) / (double)clipLengthInSamples);

// If we're squishing time...
if (sampleControls.pitchAndSpeedAreIndependent) {
Expand Down

0 comments on commit 779cc2a

Please sign in to comment.