aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-10-16 15:27:00 -0700
committerChris Robinson <[email protected]>2022-10-16 15:27:00 -0700
commita065820e74d8b49fdfbd7ddbe36254b09d0be91b (patch)
tree1de187608ea8b56ae69159eb46857a2ae58a4094 /core
parentb0cd7e09f905d110317b7726c718d153953f9c2d (diff)
Increase sub-sample precision to 16 bits
Diffstat (limited to 'core')
-rw-r--r--core/mixer/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/mixer/defs.h b/core/mixer/defs.h
index ba304f22..77dae4ca 100644
--- a/core/mixer/defs.h
+++ b/core/mixer/defs.h
@@ -16,7 +16,7 @@ using uint = unsigned int;
using float2 = std::array<float,2>;
-constexpr int MixerFracBits{12};
+constexpr int MixerFracBits{16};
constexpr int MixerFracOne{1 << MixerFracBits};
constexpr int MixerFracMask{MixerFracOne - 1};