MCPcopy Create free account
hub / github.com/LabSound/LabSound / setFunction

Method setFunction

include/LabSound/extended/FunctionNode.h:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23 static AudioNodeDescriptor * desc();
24
25 void setFunction(std::function<void(ContextRenderLock & r, FunctionNode * me, int channel, float * buffer, int bufferSize)> fn)
26 {
27 _function = fn;
28 }
29
30 virtual void process(ContextRenderLock & r, int bufferSize) override;
31 virtual void reset(ContextRenderLock & r) override;

Callers 2

playMethod · 0.80
playMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected