a-eq: ifdef methods only used for inline display

This commit is contained in:
Robin Gareus 2022-12-16 10:51:51 +01:00
parent 24ed994d02
commit 37d6f1026a
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -455,6 +455,7 @@ run(LV2_Handle instance, uint32_t n_samples)
#endif #endif
} }
#ifdef LV2_EXTENDED
static double static double
calc_peq(Aeq* self, int i, double omega) { calc_peq(Aeq* self, int i, double omega) {
double complex H = 0.0; double complex H = 0.0;
@ -513,7 +514,6 @@ calc_highshelf(Aeq* self, double omega) {
return cabs(H); return cabs(H);
} }
#ifdef LV2_EXTENDED
static float static float
eq_curve (Aeq* self, float f) { eq_curve (Aeq* self, float f) {
double response = 1.0; double response = 1.0;