Bugfix extra "for" in adsynth

(cherry picked from commit e6bc35ff98e3f430a4d091aae8f059b7925179f3)
(cherry picked from commit ab2e117ed8)
This commit is contained in:
Paul Nasca
2010-08-17 20:24:57 +03:00
committed by Tobias Doerffel
parent 380b0bfa9b
commit c407bbe15b

View File

@@ -1414,9 +1414,7 @@ inline void ADnote::ComputeVoiceOscillatorRingModulation(int nvoice)
i,
SOUND_BUFFER_SIZE);
int FMVoice = NoteVoicePar[nvoice].FMVoice;
for(i = 0; i < SOUND_BUFFER_SIZE; i++)
tw[i] *=
(1.0 - amp) + amp * NoteVoicePar[FMVoice].VoiceOut[i];
tw[i] *= (1.0 - amp) + amp * NoteVoicePar[FMVoice].VoiceOut[i];
}
}
}