Fix echo effect
This commit is contained in:
parent
51a5bcd3bc
commit
52b18c07a4
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ namespace psemek::audio
|
|||
{
|
||||
echo_impl(stream_ptr stream, duration delay, float gain)
|
||||
: stream_(std::move(stream))
|
||||
, buffer_(2 * std::max(1l, delay.samples()), 0.f)
|
||||
, buffer_(std::max(2l, delay.samples()), 0.f)
|
||||
, gain_(gain)
|
||||
{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue