juce::Reverb doesn't support double precision processing

juce::Reverb doesn’t support double precision processing, so it and its processor wrapper juce::dsp::Reverb cannot be used in a double processing context. All that’s really needed to build is these 2 member function prototype changes, although changing the algorithm to be templated seems trivial:

--- a/modules/juce_audio_basics/utilities/juce_Reverb.h
+++ b/modules/juce_audio_basics/utilities/juce_Reverb.h
@@ -129,7 +129,8 @@ public:
-    void processStereo (float* const left, float* const right, const int numSamples) noexcept
+    template<typename T>
+    void processStereo (T* const left, T* const right, const int numSamples) noexcept

@@ -166,7 +167,8 @@ public:
-    void processMono (float* const samples, const int numSamples) noexcept
+    template<typename T>
+    void processMono (T* const samples, const int numSamples) noexcept

1 Like