Fix FixedDelayline, default configuration increased set max-delay

This commit is contained in:
Robin Gareus 2017-09-26 17:39:00 +02:00
parent 61be0990fa
commit a80c8e1bb7
1 changed files with 2 additions and 1 deletions

View File

@ -91,8 +91,9 @@ FixedDelay::configure (const ChanCount& count, samplecnt_t max_delay, bool shrin
return;
}
_max_delay = max_delay;
} else if (max_delay <= _max_delay || count <= _count) {
} else if (max_delay <= _max_delay && count <= _count) {
return;
} else {
_max_delay = std::max (_max_delay, max_delay);
}