mirror of
https://github.com/yokemura/Magical8bitPlug2.git
synced 2025-07-17 11:04:16 -04:00
(1) JUCE update side effect (2)Added no-render condition
This commit is contained in:
@ -106,6 +106,10 @@ void BaseVoice::stopNote (float, bool allowTailOff)
|
||||
|
||||
void BaseVoice::renderNextBlock (AudioSampleBuffer& outputBuffer, int startSample, int numSamples)
|
||||
{
|
||||
if (getCurrentlyPlayingNote() == -1) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (angleDelta == 0.0)
|
||||
{
|
||||
return;
|
||||
|
Reference in New Issue
Block a user