From f888fb0750b7c2d3a00fd4e7bb29ad60fe19d631 Mon Sep 17 00:00:00 2001 From: Pedro Castro <128580843+cloph-dsp@users.noreply.github.com> Date: Thu, 26 Nov 2026 09:14:33 +0000 Subject: [PATCH] Document process buffer size contract (#303) --- NAM/dsp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NAM/dsp.h b/NAM/dsp.h index d632852e..b2f0d352 100644 --- a/NAM/dsp.h +++ b/NAM/dsp.h @@ -93,7 +93,8 @@ class DSP /// \param input Input audio buffers. Double pointer where the first pointer indexes channels /// and the second indexes frames: input[channel][frame] /// \param output Output audio buffers. Same structure as input. - /// \param num_frames Number of frames to process + /// \param num_frames Number of frames to process. Must not exceed the + /// maxBufferSize passed to Reset(). virtual void process(NAM_SAMPLE** input, NAM_SAMPLE** output, const int num_frames); /// \brief Get the sample rate at which the model was trained ///