Skip to content

Commit

Permalink
another fix for the linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
bboettcher3 committed Jan 17, 2024
1 parent ae5c1ca commit 31a4f27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/DSP/Grain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ float Grain::process(float chanPerc, const juce::AudioBuffer<float>& audioBuffer
float rem = sampleIdx - lowSample;
if (pbRate < 0.0f) {
std::swap(lowSample, highSample);
rem = std::fabsf(lowSample - sampleIdx);
rem = fabsf(lowSample - sampleIdx);
lowSample += audioBuffer.getNumSamples();
highSample += audioBuffer.getNumSamples();
}
Expand Down

0 comments on commit 31a4f27

Please sign in to comment.