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

Method ApplyChunk

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

Source from the content-addressed store, hash-verified

234}
235
236void VSTInstance::ApplyChunk(std::vector<char>& chunk)
237{
238 VstPatchChunkInfo info = {
239 1, mAEffect->uniqueID, mAEffect->version, mAEffect->numParams, "" };
240
241 const auto len = chunk.size();
242 const auto data = chunk.data();
243
244 callSetChunk(true, len, data, &info);
245 for (auto& slave : mSlaves)
246 slave->callSetChunk(true, len, data, &info);
247}
248
249bool VSTInstance::ChunkMustBeAppliedInMainThread() const
250{

Callers

nothing calls this directly

Calls 3

callSetChunkMethod · 0.80
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected