From 4412f27538e5318fb5875d2a03ee848ce1cc774f Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Mon, 30 Dec 2024 17:36:50 -0800 Subject: [PATCH] Mistake with anonymous namespace in header file, sillyer fix to warning --- Software/GuitarPedal/Effect-Modules/reverb_delay_module.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Software/GuitarPedal/Effect-Modules/reverb_delay_module.h b/Software/GuitarPedal/Effect-Modules/reverb_delay_module.h index 59d1028..116a61e 100644 --- a/Software/GuitarPedal/Effect-Modules/reverb_delay_module.h +++ b/Software/GuitarPedal/Effect-Modules/reverb_delay_module.h @@ -22,7 +22,6 @@ constexpr size_t MAX_DELAY_REV = // opposite directions in the buffer) constexpr size_t MAX_DELAY_SPREAD = static_cast(4800.0f); // 50 ms for Spread effect -namespace { // This is the core delay struct, which actually includes two delays, // one for forwared/octave, and one for reverse. This is required // because the reverse delayline needs to be double the size of the @@ -33,7 +32,7 @@ namespace { // octave delay, or create a "fading into the distance" effect for the // forward and reverse delays. A "level" param is included for modulation // of the output volume, for stereo panning. -struct delay { +struct dual_delay_reverb { DelayLineRevOct *del; DelayLineReverse *delreverse; float currentDelay; @@ -111,7 +110,6 @@ struct delay_spread { return read; } }; -} // namespace namespace bkshepherd { @@ -151,8 +149,8 @@ class ReverbDelayModule : public BaseEffectModule { float m_modOscFreqMax; // Delays - delay delayLeft; - delay delayRight; + dual_delay_reverb delayLeft; + dual_delay_reverb delayRight; delay_spread delaySpread; // Mix params