浏览代码

Bugfix for passthrough

did not work because of missing return - for num_channels<=1, "left channel" was still running..
(1  means pass trough)
dds
Frank 8 年前
父节点
当前提交
e0af6f0a94
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      effect_chorus.cpp

+ 2
- 1
effect_chorus.cpp 查看文件

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

正在加载...
取消
保存