From 8f8a0e5230c44ce0628afb2b7811e6c378c771db Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 14 Aug 2026 22:45:14 -0400 Subject: [PATCH] swvol: Switch to using WANT_SWVOL_32 in pcm_sw_volume.c Change-Id: Id28c4f50144e60bc13fc834641b1a0a7491a36b8 --- firmware/pcm_sw_volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/pcm_sw_volume.c b/firmware/pcm_sw_volume.c index 293cda643b..d4ed29f1e9 100644 --- a/firmware/pcm_sw_volume.c +++ b/firmware/pcm_sw_volume.c @@ -49,7 +49,7 @@ static uint32_t pcm_factor_l = 0, pcm_factor_r = 0; static typeof (memcpy) *pcm_scaling_fn = NULL; /* take care of some defines for 32-bit software vol */ -#if (PCM_NATIVE_BITDEPTH > 16) /* >16-bit */ +#ifdef WANT_SWVOL_32 /* >16-bit */ # define HAVE_SWVOL_32 # define PCM_VOL_SAMPLE_SIZE (2 * sizeof (int32_t)) # define PCM_DBL_BUF_SIZE_T int32_t