MCPcopy Create free account
hub / github.com/amsynth/amsynth / SetSampleRate

Method SetSampleRate

src/core/synth/VoiceAllocationUnit.cpp:87–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void
88VoiceAllocationUnit::SetSampleRate (int rate)
89{
90 limiter->SetSampleRate (rate);
91 for (unsigned i=0; i<_voices.size(); ++i) _voices[i]->SetSampleRate (rate);
92 reverb->setrate(rate);
93}
94
95void
96VoiceAllocationUnit::HandleMidiNoteOn(int note, float velocity)

Callers

nothing calls this directly

Calls 1

setrateMethod · 0.80

Tested by

no test coverage detected