From c6c8a13220867f05c26bc388bc8bb917fece151a Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 7 Mar 2023 21:25:38 -0800 Subject: Make the resampler enum a byte --- core/mixer/defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/mixer/defs.h b/core/mixer/defs.h index e02eb0b9..48daca9b 100644 --- a/core/mixer/defs.h +++ b/core/mixer/defs.h @@ -25,7 +25,7 @@ constexpr int MixerFracHalf{MixerFracOne >> 1}; constexpr float GainSilenceThreshold{0.00001f}; /* -100dB */ -enum class Resampler { +enum class Resampler : uint8_t { Point, Linear, Cubic, -- cgit v1.2.3