Browse Source

Make Audio2 consume a tiny bit less cpu

tags/22.09
falkTX 2 years ago
parent
commit
32dadb10bf
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      plugins/Cardinal/src/plugin.hpp

+ 3
- 0
plugins/Cardinal/src/plugin.hpp View File

@@ -70,6 +70,9 @@ float d_findMaxNormalizedFloat(const float floats[], const std::size_t count)

for (std::size_t i=1; i<count; ++i)
{
if (!std::isfinite(floats[i]))
__builtin_unreachable();

tmp = std::abs(*floats++);

if (tmp > maxf2)


Loading…
Cancel
Save