Skip to content

Commit

Permalink
Mistake with anonymous namespace in header file, sillyer fix to warning
Browse files Browse the repository at this point in the history
  • Loading branch information
xconverge committed Dec 31, 2024
1 parent 7e3776c commit 4412f27
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Software/GuitarPedal/Effect-Modules/reverb_delay_module.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ constexpr size_t MAX_DELAY_REV =
// opposite directions in the buffer)
constexpr size_t MAX_DELAY_SPREAD = static_cast<size_t>(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
Expand All @@ -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<float, MAX_DELAY> *del;
DelayLineReverse<float, MAX_DELAY_REV> *delreverse;
float currentDelay;
Expand Down Expand Up @@ -111,7 +110,6 @@ struct delay_spread {
return read;
}
};
} // namespace

namespace bkshepherd {

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4412f27

Please sign in to comment.