From c09c157cde4f751cbebde9f12dc02d7a83688bd6 Mon Sep 17 00:00:00 2001 From: Andreas Pehrson Date: Fri, 1 Dec 2017 15:37:54 +0100 Subject: [PATCH] Bug 1408294 - Assert that we don't underrun globally. r=padenot MozReview-Commit-ID: 1vEN1K1TK5n --HG-- extra : rebase_source : e2bcc28d52b28e741e8a114db4cee9880abf6562 --- dom/media/GraphDriver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dom/media/GraphDriver.cpp b/dom/media/GraphDriver.cpp index e9b3efaaa866..2cf624b3ae5c 100644 --- a/dom/media/GraphDriver.cpp +++ b/dom/media/GraphDriver.cpp @@ -960,7 +960,8 @@ AudioCallbackDriver::DataCallback(const AudioDataValue* aInputBuffer, mCurrentTimeStamp = TimeStamp::Now(); if (stateComputedTime < mIterationEnd) { - LOG(LogLevel::Warning, ("Media graph global underrun detected")); + LOG(LogLevel::Error, ("Media graph global underrun detected")); + MOZ_ASSERT_UNREACHABLE("We should not underrun in full duplex"); mIterationEnd = stateComputedTime; }