From 39fff5cb5330c1b65ad49b094b54d60078e8a31e Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 7 Aug 2021 11:14:15 -0400 Subject: move PCM_NATIVE_BITDEPTH definiton into global config code Change-Id: I391bcffca670916c2c88426e2ba2603351326cee --- firmware/pcm_sw_volume.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'firmware/pcm_sw_volume.c') diff --git a/firmware/pcm_sw_volume.c b/firmware/pcm_sw_volume.c index 646f2a680a..bee1559bb8 100644 --- a/firmware/pcm_sw_volume.c +++ b/firmware/pcm_sw_volume.c @@ -49,11 +49,6 @@ static uint32_t pcm_new_factor_l = 0, pcm_new_factor_r = 0; static uint32_t pcm_factor_l = 0, pcm_factor_r = 0; static typeof (memcpy) *pcm_scaling_fn = NULL; -/* default to 16-bit volume scaling unless specified */ -#if !defined(PCM_NATIVE_BITDEPTH) -# define PCM_NATIVE_BITDEPTH 16 -#endif - /* take care of some defines for 32-bit software vol */ #if (PCM_NATIVE_BITDEPTH > 16) /* >16-bit */ -- cgit v1.2.3