зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
d533930683
Коммит
c7c42f4c89
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче