diff --git a/daemon/src/audio/audiobuffer.h b/daemon/src/audio/audiobuffer.h index e14886a4420f72c0ff9883170b243b968164fe02..45b96b37aee9a5836a169d2c23f259059e1a1a23 100644 --- a/daemon/src/audio/audiobuffer.h +++ b/daemon/src/audio/audiobuffer.h @@ -187,7 +187,10 @@ class AudioBuffer { } /** - * Resize the buffer to make it able to hold sample_num multichannel samples. + * Resize the buffer to make it able to hold sample_num + * multichannel samples. + * If the requested size is larger than the current buffer size, + * the new samples are set to zero. */ void resize(size_t sample_num);