| 41 | } |
| 42 | |
| 43 | void 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 | |
| 56 | void DCRemoverEffect::DrawModule() |
| 57 | { |
nothing calls this directly
no test coverage detected