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

Method ProcessAudio

Source/DCRemoverEffect.cpp:43–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void DCRemoverEffect::ProcessAudio(double time, ChannelBuffer* buffer)
44{
45 PROFILER(DCRemoverEffect);
46
47 if (!mEnabled)
48 return;
49
50 float bufferSize = buffer->BufferSize();
51
52 for (int ch = 0; ch < buffer->NumActiveChannels(); ++ch)
53 mBiquad[ch].Filter(buffer->GetChannel(ch), bufferSize);
54}
55
56void DCRemoverEffect::DrawModule()
57{

Callers

nothing calls this directly

Calls 4

BufferSizeMethod · 0.80
NumActiveChannelsMethod · 0.80
GetChannelMethod · 0.80
FilterMethod · 0.60

Tested by

no test coverage detected