commit 235309a9a42ca6de313facef457a2cbc41afe936
parent ff79a8c061b740b54e5490a29fdeac77cc1d3451
Author: falkTX <falktx@falktx.com>
Date: Sat, 1 Apr 2023 21:05:46 +0200
Different attempt..
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/distrho/DistrhoDetails.hpp b/distrho/DistrhoDetails.hpp
@@ -236,18 +236,18 @@ enum PredefinedPortGroupsIds {
/**
Null or unset port group.
*/
- kPortGroupNone = static_cast<uint32_t>(-1),
+ kPortGroupNone = UINT32_MAX - 1,
/**
A single channel audio group.
*/
- kPortGroupMono = static_cast<uint32_t>(-2),
+ kPortGroupMono = UINT32_MAX - 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 = static_cast<uint32_t>(-3)
+ kPortGroupStereo = UINT32_MAX - 3
};
/**