Ejemplo n.º 1
0
    void prepareToPlay (int samplesPerBlockExpected,
                        double sampleRate)
    {
        midiCollector.reset (sampleRate);

        synth.setCurrentPlaybackSampleRate (sampleRate);
    }
Ejemplo n.º 2
0
  void prepareToPlay (int samplesPerBlockExpected,
                      double sampleRate)
  {
    m_sampleRate = sampleRate;

    m_synth.setCurrentPlaybackSampleRate (sampleRate);
  }