This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
Cardinal
mirror of
https://github.com/DISTRHO/Cardinal.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
18
Wiki
Activity
Browse Source
Make Audio2 consume a tiny bit less cpu
tags/22.09
falkTX
2 years ago
parent
ad1834cf65
commit
32dadb10bf
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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)
Write
Preview
Loading…
Cancel
Save