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

Unified Diff: chromecast/media/audio/cast_audio_manager_factory.h

Issue 1308153005: [Chromecast] Plumbs raw audio through CMA backend. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed cast_shell compile error 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
« no previous file with comments | « chromecast/media/audio/cast_audio_manager.cc ('k') | chromecast/media/audio/cast_audio_manager_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/media/audio/cast_audio_manager_factory.h
diff --git a/chromecast/media/audio/cast_audio_manager_factory.h b/chromecast/media/audio/cast_audio_manager_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..85e816001b63545e6357c1d7c5eb1dfb70aa2489
--- /dev/null
+++ b/chromecast/media/audio/cast_audio_manager_factory.h
@@ -0,0 +1,30 @@
+// 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.
+
+#ifndef CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_FACTORY_H_
+#define CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_FACTORY_H_
+
+#include "base/macros.h"
+#include "media/audio/audio_manager_factory.h"
+
+namespace chromecast {
+namespace media {
+
+class CastAudioManagerFactory : public ::media::AudioManagerFactory {
+ public:
+ CastAudioManagerFactory();
+ ~CastAudioManagerFactory() override;
+
+ // ::media::AudioManagerFactory overrides.
+ ::media::AudioManager* CreateInstance(
+ ::media::AudioLogFactory* audio_log_factory) override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(CastAudioManagerFactory);
+};
+
+} // namespace media
+} // namespace chromecast
+
+#endif // CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_FACTORY_H_
« no previous file with comments | « chromecast/media/audio/cast_audio_manager.cc ('k') | chromecast/media/audio/cast_audio_manager_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698