MCPcopy Create free account
hub / github.com/audacity/audacity / ProcessBlock

Method ProcessBlock

libraries/lib-vst/VSTInstance.cpp:133–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

131}
132
133size_t VSTInstance::ProcessBlock(EffectSettings &,
134 const float *const *inBlock, float *const *outBlock, size_t blockLen)
135{
136 // Only call the effect if there's something to do...some do not like zero-length block
137 if (blockLen)
138 {
139 // Go let the plugin moleste the samples
140 callProcessReplacing(inBlock, outBlock, blockLen);
141
142 // And track the position
143 mTimeInfo.samplePos += (double) blockLen;
144 }
145
146 return blockLen;
147}
148
149bool VSTInstance::RealtimeInitialize(EffectSettings &settings, double sampleRate)
150{

Callers 2

RealtimeProcessMethod · 0.45
ProcessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected