Skip to content

Commit

Permalink
🐛 Fix bug in audio render
Browse files Browse the repository at this point in the history
 - This commit is fixing a audio gap in the start of new intervals.
  • Loading branch information
elieserdejesus committed Dec 26, 2018
1 parent 56bcd31 commit 3ec996d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Common/audio/core/SamplesBuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{

}
Expand Down

0 comments on commit 3ec996d

Please sign in to comment.