From 3ec996d265b02d90725417686690ef2c202a3aa3 Mon Sep 17 00:00:00 2001 From: Elieser Date: Wed, 26 Dec 2018 09:33:57 -0200 Subject: [PATCH] :bug: Fix bug in audio render - This commit is fixing a audio gap in the start of new intervals. --- src/Common/audio/core/SamplesBuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/audio/core/SamplesBuffer.cpp b/src/Common/audio/core/SamplesBuffer.cpp index 88048dc68..04fdb5000 100644 --- a/src/Common/audio/core/SamplesBuffer.cpp +++ b/src/Common/audio/core/SamplesBuffer.cpp @@ -10,7 +10,7 @@ using audio::AudioPeak; const SamplesBuffer SamplesBuffer::ZERO_BUFFER(1, 0); SamplesBuffer::SamplesBuffer(unsigned int channels) : - SamplesBuffer(channels, 4096) // avoid vector internally call reserve from a zero size to final frameLenght, use small 4K chunks + SamplesBuffer(channels, 0) { }