MCPcopy Create free account
hub / github.com/amsynth/amsynth / processReplacing

Function processReplacing

src/plugins/vst2/vstplugin.cpp:315–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

313}
314
315static void processReplacing(AEffect *effect, float **inputs, float **outputs, int numSampleFrames)
316{
317 (void)inputs;
318 Plugin *plugin = (Plugin *)effect->ptr3;
319 std::vector<amsynth_midi_cc_t> midi_out;
320 plugin->synthesizer->process(numSampleFrames, plugin->midiInput.events, midi_out, outputs[0], outputs[1]);
321 plugin->midiInput.clear();
322}
323
324static void setParameter(AEffect *effect, int i, float f)
325{

Callers

nothing calls this directly

Calls 2

clearMethod · 0.80
processMethod · 0.45

Tested by

no test coverage detected