aboutsummaryrefslogtreecommitdiffstats
path: root/alc
diff options
context:
space:
mode:
Diffstat (limited to 'alc')
-rw-r--r--alc/mixvoice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/mixvoice.cpp b/alc/mixvoice.cpp
index 99e4dc48..bfb3b663 100644
--- a/alc/mixvoice.cpp
+++ b/alc/mixvoice.cpp
@@ -301,7 +301,7 @@ template<>
struct FmtTypeTraits<FmtUByte> {
using Type = ALubyte;
static constexpr inline float to_float(const Type val) noexcept
- { return val*(1.0f/128.0f) - 128.0f; }
+ { return val*(1.0f/128.0f) - 1.0f; }
};
template<>
struct FmtTypeTraits<FmtShort> {