Mingw compilation fixes
This commit is contained in:
parent
f743201565
commit
5fa8e4a3a3
2 changed files with 2 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ namespace psemek::audio
|
|||
{
|
||||
all_pass_impl(stream_ptr stream, duration delay, float gain)
|
||||
: stream_(std::move(stream))
|
||||
, buffer_(2 * std::max(1l, delay.samples()), 0.f)
|
||||
, buffer_(std::max<std::size_t>(2, delay.samples()), 0.f)
|
||||
, gain_(gain)
|
||||
{}
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ namespace psemek::audio
|
|||
{
|
||||
echo_impl(stream_ptr stream, duration delay, float gain)
|
||||
: stream_(std::move(stream))
|
||||
, buffer_(std::max(2l, delay.samples()), 0.f)
|
||||
, buffer_(std::max<std::size_t>(2, delay.samples()), 0.f)
|
||||
, gain_(gain)
|
||||
{}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue