Ver código fonte

Merge pull request #167 from FrankBoesing/patch-3

Bugfix for passthrough
dds
Paul Stoffregen 8 anos atrás
pai
commit
e2c7d3d0e0
1 arquivos alterados com 2 adições e 1 exclusões
  1. +2
    -1
      effect_chorus.cpp

+ 2
- 1
effect_chorus.cpp Ver arquivo

@@ -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

Carregando…
Cancelar
Salvar