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

Unified Diff: media/blink/webmediaplayer_impl_unittest.cc

Issue 1942803002: Caching AudioOutputDevice instances in mixer manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make WebAudioSourceProvider to always return real sink info reguardless the client - to avoid behavior change. Created 4 years, 7 months 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 | « media/blink/webaudiosourceprovider_impl.cc ('k') | media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl_unittest.cc
diff --git a/media/blink/webmediaplayer_impl_unittest.cc b/media/blink/webmediaplayer_impl_unittest.cc
index d94285006637d101028ed6f89f63557a27773afc..bfa30eaea6ff27643720d61156e94004a46c8164 100644
--- a/media/blink/webmediaplayer_impl_unittest.cc
+++ b/media/blink/webmediaplayer_impl_unittest.cc
@@ -16,7 +16,6 @@
#include "base/message_loop/message_loop.h"
#include "base/threading/thread.h"
#include "base/threading/thread_task_runner_handle.h"
-#include "media/base/audio_hardware_config.h"
#include "media/base/media_log.h"
#include "media/base/test_helpers.h"
#include "media/blink/mock_webframeclient.h"
@@ -91,8 +90,7 @@ class WebMediaPlayerImplTest : public testing::Test {
blink::WebLocalFrame::create(blink::WebTreeScopeType::Document,
&web_frame_client_)),
media_log_(new MediaLog()),
- audio_parameters_(TestAudioParameters::Normal()),
- audio_hardware_config_(audio_parameters_, audio_parameters_) {
+ audio_parameters_(TestAudioParameters::Normal()) {
web_view_->setMainFrame(web_local_frame_);
media_thread_.StartAndWaitForTesting();
@@ -100,8 +98,7 @@ class WebMediaPlayerImplTest : public testing::Test {
web_local_frame_, &client_, nullptr,
base::WeakPtr<WebMediaPlayerDelegate>(),
base::WrapUnique(new DefaultRendererFactory(
- media_log_, nullptr, DefaultRendererFactory::GetGpuFactoriesCB(),
- audio_hardware_config_)),
+ media_log_, nullptr, DefaultRendererFactory::GetGpuFactoriesCB())),
url_index_,
WebMediaPlayerParams(
WebMediaPlayerParams::DeferLoadCB(),
@@ -182,7 +179,6 @@ class WebMediaPlayerImplTest : public testing::Test {
// Audio hardware configuration.
AudioParameters audio_parameters_;
- AudioHardwareConfig audio_hardware_config_;
// The client interface used by |wmpi_|. Just a dummy for now, but later we
// may want a mock or intelligent fake.
« no previous file with comments | « media/blink/webaudiosourceprovider_impl.cc ('k') | media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698