Sfoglia il codice sorgente

Merge pull request #167 from FrankBoesing/patch-3

Bugfix for passthrough
dds
Paul Stoffregen 8 anni fa
parent
commit
e2c7d3d0e0
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      effect_chorus.cpp

+ 2
- 1
effect_chorus.cpp Vedi File

@@ -78,7 +78,7 @@ void AudioEffectChorus::update(void)
// do passthru
// It stores the unmodified data in the delay line so that
// it isn't as likely to click
if(num_chorus < 1) {
if(num_chorus <= 1) {
// Just passthrough
block = receiveWritable(0);
if(block) {
@@ -93,6 +93,7 @@ void AudioEffectChorus::update(void)
transmit(block,0);
release(block);
}
return;
}

// L E F T C H A N N E L

Loading…
Annulla
Salva