swvol: Switch to using WANT_SWVOL_32 in pcm_sw_volume.c
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 8f8a0e5230c44ce0628afb2b7811e6c378c771db Author: Solomon Peachy <[email protected]> Date: Fri Aug 14 22:45:14 2026 -0400 swvol: Switch to using WANT_SWVOL_32 in pcm_sw_volume.c Change-Id: Id28c4f50144e60bc13fc834641b1a0a7491a36b8 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 -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs