Skip to content

Commit a0d82a0

Browse files
authored
Make GetMaxBufferSize() public (#289)
1 parent 6e32dca commit a0d82a0

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

NAM/dsp.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ class DSP
197197
/// \param outputLevel Output level in dBu
198198
void SetOutputLevel(const double outputLevel);
199199

200+
/// \brief Get the maximum buffer size
201+
/// \return Maximum buffer size
202+
int GetMaxBufferSize() const { return mMaxBufferSize; };
203+
200204
protected:
201205
friend class wavenet::WaveNet; // Allow WaveNet to access protected members. Used in condition DSP.
202206

@@ -216,10 +220,6 @@ class DSP
216220
/// \param maxBufferSize Maximum number of frames to process in a single call
217221
virtual void SetMaxBufferSize(const int maxBufferSize);
218222

219-
/// \brief Get the maximum buffer size
220-
/// \return Maximum buffer size
221-
int GetMaxBufferSize() const { return mMaxBufferSize; };
222-
223223
private:
224224
const int mInChannels;
225225
const int mOutChannels;

0 commit comments

Comments
 (0)