mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a release delta value in the Sampler class.
This commit is contained in:
parent
6dc961db2a
commit
a48470e741
1 changed files with 1 additions and 1 deletions
|
|
@ -119,7 +119,7 @@ void SamplerVoice::startNote (const int midiNoteNumber,
|
|||
if (sound->releaseSamples > 0)
|
||||
releaseDelta = (float) (-pitchRatio / sound->releaseSamples);
|
||||
else
|
||||
releaseDelta = 0.0f;
|
||||
releaseDelta = -1.0f;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue