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

Unified Diff: chromecast/media/audio/audio_manager_factory.cc

Issue 1308153005: [Chromecast] Plumbs raw audio through CMA backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: changed default sample rate Created 5 years, 3 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/media/audio/audio_manager_factory.cc
diff --git a/chromecast/media/audio/audio_manager_factory.cc b/chromecast/media/audio/audio_manager_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..037b7b3d127b20ba226bbae6ec41736a0bc10041
--- /dev/null
+++ b/chromecast/media/audio/audio_manager_factory.cc
@@ -0,0 +1,22 @@
+// 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 "chromecast/media/audio/audio_manager_factory.h"
+
+#include "chromecast/media/audio/audio_manager.h"
+
+namespace chromecast {
+namespace media {
+
+AudioManagerFactory::AudioManagerFactory() {}
+
+AudioManagerFactory::~AudioManagerFactory() {}
+
+::media::AudioManager* AudioManagerFactory::CreateInstance(
+ ::media::AudioLogFactory* audio_log_factory) {
+ return new AudioManager(audio_log_factory);
+}
+
+} // namespace media
+} // namespace chromecast

Powered by Google App Engine
This is Rietveld 408576698