DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 9a86c80834c01a69cf74f1c55c3ca2d333da548e
parent 7d0f157f695c98b88e95c6285a1c90776c86f2a3
Author: falkTX <falktx@falktx.com>
Date:   Sat,  1 Apr 2023 22:31:35 +0200

Revert latest changes, do not work in the end

Signed-off-by: falkTX <falktx@falktx.com>

Diffstat:
Mdistrho/DistrhoDetails.hpp | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/distrho/DistrhoDetails.hpp b/distrho/DistrhoDetails.hpp @@ -232,22 +232,22 @@ enum ParameterDesignation { @see PortGroup */ -enum PredefinedPortGroupsIds : uint32_t { +enum PredefinedPortGroupsIds { /** Null or unset port group. */ - kPortGroupNone = UINT32_MAX - 1, + kPortGroupNone = (uint32_t)-1, /** A single channel audio group. */ - kPortGroupMono = UINT32_MAX - 2, + kPortGroupMono = (uint32_t)-2, /** A 2-channel discrete stereo audio group, where the 1st audio port is the left channel and the 2nd port is the right channel. */ - kPortGroupStereo = UINT32_MAX - 3 + kPortGroupStereo = (uint32_t)-3 }; /**