Bug 1605134 - Remove assert that catches a graph iterating 0 ticks. r=padenot

0 ticks is fine, and happens often for graphs with a low sample rate because in
such cases the minimum 128-frame AudioBlock is rather large and spans multiple
iterations.

Differential Revision: https://phabricator.services.mozilla.com/D97833
This commit is contained in:
Andreas Pehrson 2020-11-30 14:16:52 +00:00
Родитель d533930683
Коммит c7c42f4c89
1 изменённых файлов: 0 добавлений и 2 удалений

Просмотреть файл

@ -396,8 +396,6 @@ void AudioResampler::AppendInput(const AudioSegment& aInSegment) {
}
AudioSegment AudioResampler::Resample(uint32_t aOutFrames) {
MOZ_ASSERT(aOutFrames);
AudioSegment segment;
// We don't know what to do yet and we only have received silence if any just