Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1506)

Unified Diff: content/renderer/media/html_audio_element_capturer_source_unittest.cc

Issue 2533443002: fallback to null sink in WebAudioSourceProvider::Initialize() + UMA stats for device status (Closed)
Patch Set: review comments addressed Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/media/audio_messages.h ('k') | media/audio/audio_output_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/html_audio_element_capturer_source_unittest.cc
diff --git a/content/renderer/media/html_audio_element_capturer_source_unittest.cc b/content/renderer/media/html_audio_element_capturer_source_unittest.cc
index 10d24ed7ec5c83145a248bb02aaf30fb949a6de6..7c0c88521232985f0acf19f61ad57e87320d583c 100644
--- a/content/renderer/media/html_audio_element_capturer_source_unittest.cc
+++ b/content/renderer/media/html_audio_element_capturer_source_unittest.cc
@@ -11,6 +11,7 @@
#include "media/audio/null_audio_sink.h"
#include "media/base/audio_parameters.h"
#include "media/base/fake_audio_render_callback.h"
+#include "media/base/media_log.h"
#include "media/blink/webaudiosourceprovider_impl.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -66,7 +67,8 @@ class HTMLAudioElementCapturerSourceTest : public testing::Test {
HTMLAudioElementCapturerSourceTest()
: fake_callback_(0.1),
audio_source_(new media::WebAudioSourceProviderImpl(
- new media::NullAudioSink(base::ThreadTaskRunnerHandle::Get()))) {}
+ new media::NullAudioSink(base::ThreadTaskRunnerHandle::Get()),
+ new media::MediaLog())) {}
void SetUp() final {
const media::AudioParameters params(
« no previous file with comments | « content/common/media/audio_messages.h ('k') | media/audio/audio_output_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698