From 187006f30ebf1ae82bbf5f91294abe70870aeac6 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 7 Sep 2022 16:08:21 +0200 Subject: [PATCH] audioconvert: remove some double defines --- spa/plugins/audioconvert/channelmix-ops.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/spa/plugins/audioconvert/channelmix-ops.c b/spa/plugins/audioconvert/channelmix-ops.c index 9bfc9dc95..56faa7ea6 100644 --- a/spa/plugins/audioconvert/channelmix-ops.c +++ b/spa/plugins/audioconvert/channelmix-ops.c @@ -31,21 +31,9 @@ #include #include -#define VOLUME_MIN 0.0f -#define VOLUME_NORM 1.0f - #include "channelmix-ops.h" #include "hilbert.h" - -#define _M(ch) (1UL << SPA_AUDIO_CHANNEL_ ## ch) -#define MASK_MONO _M(FC)|_M(MONO)|_M(UNKNOWN) -#define MASK_STEREO _M(FL)|_M(FR)|_M(UNKNOWN) -#define MASK_QUAD _M(FL)|_M(FR)|_M(RL)|_M(RR)|_M(UNKNOWN) -#define MASK_3_1 _M(FL)|_M(FR)|_M(FC)|_M(LFE) -#define MASK_5_1 _M(FL)|_M(FR)|_M(FC)|_M(LFE)|_M(SL)|_M(SR)|_M(RL)|_M(RR) -#define MASK_7_1 _M(FL)|_M(FR)|_M(FC)|_M(LFE)|_M(SL)|_M(SR)|_M(RL)|_M(RR) - #define ANY ((uint32_t)-1) #define EQ ((uint32_t)-2)