This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
Carla
mirror of
https://github.com/falkTX/Carla
Watch
1
Star
0
Fork
0
Code
Releases
42
Activity
Browse Source
Fix strict build
Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.2.0-RC1
falkTX
4 years ago
parent
b4eac526e2
commit
583d1efb41
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
source/backend/plugin/CarlaPluginInternal.cpp
+ 1
- 1
source/backend/plugin/CarlaPluginInternal.cpp
View File
@@ -384,7 +384,7 @@ float PluginParameterData::getFinalValueWithMidiDelta(const uint32_t parameterId
else
else
{
{
if (delta > 63)
if (delta > 63)
delta = delta - 128;
delta =
static_cast<int8_t>(
delta - 128
)
;
value += (max - min) * (static_cast<float>(delta) / 127.0f);
value += (max - min) * (static_cast<float>(delta) / 127.0f);
}
}
Write
Preview
Loading…
Cancel
Save