This is what happens when we need to clear the internal state of a band's processors.
| 72 | |
| 73 | // This is what happens when we need to clear the internal state of a band's processors. |
| 74 | void BandProcessor::reset() |
| 75 | { |
| 76 | isFirstBlock = true; |
| 77 | compressor.reset(); |
| 78 | gain.reset(); |
| 79 | dryWetMixer.reset(); |
| 80 | shapeMixer.reset(); |
| 81 | compressorMixer.reset(); |
| 82 | widthMixer.reset(); |
| 83 | dcFilter.reset(); |
| 84 | |
| 85 | if (oversampling) |
| 86 | oversampling->reset(); |
| 87 | } |
| 88 | |
| 89 | //============================================================================== |
| 90 | // This is the new, self-contained processing function for a single band. |
no outgoing calls
no test coverage detected