aboutsummaryrefslogtreecommitdiffstats
path: root/core/mixer
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-03-31 09:37:30 -0700
committerChris Robinson <[email protected]>2021-03-31 09:37:30 -0700
commit35a0f2665f834c107e39ec2dcfc3d9ae0a0b33ce (patch)
tree5e889ba0dfb6664b9035c856b333f79c5aeecb88 /core/mixer
parent8793055e666d2019dd48422c2e4ece1d3118e2f7 (diff)
Decode UHJ buffers to B-Format for mixing
This should also have an adjustment for the shelf filter. Although it's not clear what the appropriate adjustments should be.
Diffstat (limited to 'core/mixer')
-rw-r--r--core/mixer/defs.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/core/mixer/defs.h b/core/mixer/defs.h
index e8e7be6c..ba304f22 100644
--- a/core/mixer/defs.h
+++ b/core/mixer/defs.h
@@ -6,6 +6,7 @@
#include "alspan.h"
#include "core/bufferline.h"
+#include "core/resampler_limits.h"
struct HrtfChannelState;
struct HrtfFilter;
@@ -19,12 +20,6 @@ constexpr int MixerFracBits{12};
constexpr int MixerFracOne{1 << MixerFracBits};
constexpr int MixerFracMask{MixerFracOne - 1};
-/* Maximum number of samples to pad on the ends of a buffer for resampling.
- * Note that the padding is symmetric (half at the beginning and half at the
- * end)!
- */
-constexpr int MaxResamplerPadding{48};
-
constexpr float GainSilenceThreshold{0.00001f}; /* -100dB */