1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-05 14:11:00 +01:00

Fixed a Mac build failure in bool EffectReverb::ProcessOneBlock()

Added Reverb.cpp and Reverb.h to the Xcode project.
This commit is contained in:
prlivesey
2013-05-03 14:19:40 +00:00
parent 55f1933a17
commit 04225a52a4
2 changed files with 11 additions and 11 deletions

View File

@@ -56,7 +56,7 @@ bool EffectReverb::ProcessOneBlock(sampleCount len0, float * const * chans0)
size_t c, i, w, len = len0;
float const dryMult(mParams.mWetOnly? 0 : dB_to_linear(mParams.mDryGain));
while (len) {
size_t len1 = min(len, BLOCK);
size_t len1 = min(len, (size_t)BLOCK);
for (c = 0; c < mP->ichannels; ++c) {
mP->chan[c].dry = (float *)fifo_write(&mP->chan[c].reverb.input_fifo, len1, chans[c]);
reverb_process(&mP->chan[c].reverb, len1);