Browse Source

fix tonesweep

dds
PaulStoffregen 8 years ago
parent
commit
9b283ea102
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      synth_tonesweep.cpp

+ 1
- 1
synth_tonesweep.cpp View File

@@ -105,7 +105,7 @@ void AudioSynthToneSweep::update(void)
if(tone_phase & 0x800000000000LL)tone_phase &= 0x7fffffffffffLL;

if(tone_sign > 0) {
if((tmp > tone_hi) {
if(tmp > tone_hi) {
sweep_busy = 0;
break;
}

Loading…
Cancel
Save