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

Method DeferChunkApplication

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

Source from the content-addressed store, hash-verified

223}
224
225void VSTInstance::DeferChunkApplication()
226{
227 std::lock_guard<std::mutex> guard(mDeferredChunkMutex);
228
229 if (! mChunkToSetAtIdleTime.empty() )
230 {
231 ApplyChunk(mChunkToSetAtIdleTime);
232 mChunkToSetAtIdleTime.resize(0);
233 }
234}
235
236void VSTInstance::ApplyChunk(std::vector<char>& chunk)
237{

Callers 1

OnIdleMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected