Update reSID.cpp

master
Frank 7 years ago committed by GitHub
parent bdb207dfc2
commit 413f2ffefb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      reSID.cpp

@ -39,7 +39,7 @@ void AudioPlaySID::begin(void)
playing = true;
}
void AudioPlaySID::setSampleParameters(unsigned clockfreq, unsigned samplerate) {
void AudioPlaySID::setSampleParameters(float clockfreq, float samplerate) {
sid.set_sampling_parameters(clockfreq, SAMPLE_FAST, samplerate);
csdelta = round((float)clockfreq / ((float)samplerate / AUDIO_BLOCK_SAMPLES));
}

Loading…
Cancel
Save