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

Unified Diff: chromecast/browser/media/audio_manager_factory_simple.cc

Issue 1113053002: Set the AudioManager factory before the browser main loop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
Index: chromecast/browser/media/audio_manager_factory_simple.cc
diff --git a/chromecast/browser/media/audio_manager_factory_simple.cc b/chromecast/browser/media/audio_manager_factory_simple.cc
new file mode 100644
index 0000000000000000000000000000000000000000..9b29aefa439faf6cf1352c33dabcff836f636a6c
--- /dev/null
+++ b/chromecast/browser/media/audio_manager_factory_simple.cc
@@ -0,0 +1,17 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "base/logging.h"
+
+namespace chromecast {
+namespace media {
+
+// Do not provide a factory. The statically-linked default implementation will
+// be used. See "src/media/audio/audio_manager.cc" for more detail.
+void SetPlatformAudioManagerFactory() {
+ VLOG(1) << "Using statically-linked default AudioManager.";
+}
+
+} // namespace media
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698