| Index: content/renderer/media/media_stream_audio_processor.cc
|
| diff --git a/content/renderer/media/media_stream_audio_processor.cc b/content/renderer/media/media_stream_audio_processor.cc
|
| index 26acd99c8c90c719034bcd6929ed25f2dd160610..168697e20b945e217c530e11acb237d000e04164 100644
|
| --- a/content/renderer/media/media_stream_audio_processor.cc
|
| +++ b/content/renderer/media/media_stream_audio_processor.cc
|
| @@ -211,10 +211,12 @@ class MediaStreamAudioFifo {
|
| }
|
|
|
| if (fifo_) {
|
| + CHECK_LT(fifo_->frames(), destination_->bus()->frames());
|
| next_audio_delay_ = audio_delay +
|
| fifo_->frames() * base::TimeDelta::FromSeconds(1) / sample_rate_;
|
| fifo_->Push(source_to_push);
|
| } else {
|
| + CHECK(!data_available_);
|
| source_to_push->CopyTo(destination_->bus());
|
| next_audio_delay_ = audio_delay;
|
| data_available_ = true;
|
|
|