From 8cc9aca54c765bd548a09abae9c6b8e8e67e6461 Mon Sep 17 00:00:00 2001 From: pio Date: Mon, 15 Jan 2024 10:51:05 +0100 Subject: [PATCH] add library manifests --- src/effect_monoToStereo_F32.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/effect_monoToStereo_F32.h b/src/effect_monoToStereo_F32.h index 91337bd..a229d88 100644 --- a/src/effect_monoToStereo_F32.h +++ b/src/effect_monoToStereo_F32.h @@ -44,14 +44,14 @@ public: AudioEffectMonoToStereo_F32(); ~AudioEffectMonoToStereo_F32(); virtual void update(); - void setSpread(float32_t val) + void stereo_set(float32_t val) { val = constrain(val, 0.0f, 1.0f); __disable_irq(); width = val; __enable_irq(); } - void setPan(float32_t val) + void pan_set(float32_t val) { float32_t a, b; val = constrain(val, -1.0f, 1.0f); @@ -62,9 +62,9 @@ public: pancos = b; __enable_irq(); } - void setBypass(bool state) {bypass = state;} - void tglBypass(void) {bypass ^= 1;} - bool getBypass(void) { return bypass;} + void bypass_set(bool state) {bypass = state;} + void bypass_tgl(void) {bypass ^= 1;} + bool bypass_get(void) { return bypass;} private: bool bypass; float32_t width;