| 1182 | } |
| 1183 | |
| 1184 | void FireAudioProcessor::updatePeakFilter(const ChainSettings& chainSettings, double sampleRate) |
| 1185 | { |
| 1186 | auto peakCoefficients = makePeakFilter(chainSettings, sampleRate); |
| 1187 | |
| 1188 | leftChain.setBypassed<ChainPositions::Peak>(chainSettings.peakBypassed); |
| 1189 | rightChain.setBypassed<ChainPositions::Peak>(chainSettings.peakBypassed); |
| 1190 | updateCoefficients(leftChain.get<ChainPositions::Peak>().coefficients, peakCoefficients); |
| 1191 | updateCoefficients(rightChain.get<ChainPositions::Peak>().coefficients, peakCoefficients); |
| 1192 | } |
| 1193 | |
| 1194 | void FireAudioProcessor::updateLowCutFilters(const ChainSettings& chainSettings, double sampleRate) |
| 1195 | { |
nothing calls this directly
no test coverage detected