Addressed changes
This commit is contained in:
parent
9a4beac95a
commit
908d3c5679
4 changed files with 13 additions and 10 deletions
|
@ -17,8 +17,8 @@
|
|||
|
||||
namespace {
|
||||
[[nodiscard]] static constexpr s16 ClampToS16(s32 value) {
|
||||
return static_cast<s16>(std::clamp(value, static_cast<s32>(std::numeric_limits<s16>::min()),
|
||||
static_cast<s32>(std::numeric_limits<s16>::max())));
|
||||
return static_cast<s16>(std::clamp(value, s32{std::numeric_limits<s16>::min()},
|
||||
s32{std::numeric_limits<s16>::max()}));
|
||||
}
|
||||
|
||||
[[nodiscard]] static constexpr s16 Mix2To1(s16 l_channel, s16 r_channel) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue