MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / ClearBuffer

Method ClearBuffer

Source/RollingBuffer.cpp:100–105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void RollingBuffer::ClearBuffer()
101{
102 mBuffer.Clear();
103 for (int i = 0; i < ChannelBuffer::kMaxNumChannels; ++i)
104 mOffsetToNow[i] = 0;
105}
106
107void RollingBuffer::Draw(int x, int y, int width, int height, int length /*= -1*/, int channel /*= -1*/, int delayOffset /*= 0*/)
108{

Callers 8

ClearMethod · 0.80
PollMethod · 0.80
SetEnabledMethod · 0.80
CheckboxUpdatedMethod · 0.80
CheckboxUpdatedMethod · 0.80
ButtonClickedMethod · 0.80
SaveOutputMethod · 0.80
ClearVoiceMethod · 0.80

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected