void prepareToPlay (int samplesPerBlockExpected, double sampleRate) { midiCollector.reset (sampleRate); synth.setCurrentPlaybackSampleRate (sampleRate); }
void prepareToPlay (int samplesPerBlockExpected, double sampleRate) { m_sampleRate = sampleRate; m_synth.setCurrentPlaybackSampleRate (sampleRate); }