Suggestion to add a jassert in dsp::Oscillator::process

The following code ends up in an infinite loop in process() apparently because of the samplerate 0 in the ProcessSpec. I suggest adding a jassert in the process method to catch this. (Or why not in the Oscillator::prepare also…)

    dsp::Oscillator<float> osc(std::sinf);
    AudioBuffer<float> buffer(1, 512);
    dsp::ProcessSpec spec;
    spec.maximumBlockSize = 512;
    spec.numChannels = 1;
    spec.sampleRate = 0;
    std::cout << "finished\n";