Skip to content
Snippets Groups Projects
Commit 44285fd7 authored by Adrien Béraud's avatar Adrien Béraud Committed by Tristan Matthews
Browse files

AudioBuffer: detail resize behavior

Refs #49181
Change-Id: I5c1229922340802498416a25522428b3d19f6b13
parent e33c6dfe
Branches
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment