From fbee460a15bec87999acf02a81a0303cf5421dfc Mon Sep 17 00:00:00 2001 From: Mike Oliphant Date: Mon, 15 Jun 2026 12:03:56 -0700 Subject: [PATCH] Make GetMaxBufferSize() public --- NAM/dsp.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/NAM/dsp.h b/NAM/dsp.h index d181c38..be843c7 100644 --- a/NAM/dsp.h +++ b/NAM/dsp.h @@ -189,6 +189,10 @@ class DSP /// \param outputLevel Output level in dBu void SetOutputLevel(const double outputLevel); + /// \brief Get the maximum buffer size + /// \return Maximum buffer size + int GetMaxBufferSize() const { return mMaxBufferSize; }; + protected: friend class wavenet::WaveNet; // Allow WaveNet to access protected members. Used in condition DSP. @@ -208,10 +212,6 @@ class DSP /// \param maxBufferSize Maximum number of frames to process in a single call virtual void SetMaxBufferSize(const int maxBufferSize); - /// \brief Get the maximum buffer size - /// \return Maximum buffer size - int GetMaxBufferSize() const { return mMaxBufferSize; }; - private: const int mInChannels; const int mOutChannels;