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

Side by Side Diff: chromecast/media/audio/cast_audio_manager_factory.cc

Issue 1105803002: Exposes a shlib interface for media/audio path. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comment out streaming test until the default implementation is improved. Created 5 years, 4 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chromecast/media/audio/cast_audio_manager_factory.h"
6
7 #include "base/logging.h"
8 #include "chromecast/media/audio/cast_audio_manager.h"
9 #include "chromecast/public/cast_media_shlib.h"
10
11 namespace chromecast {
12 namespace media {
13
14 CastAudioManagerFactory::CastAudioManagerFactory() {
15 }
16
17 CastAudioManagerFactory::~CastAudioManagerFactory() {
18 }
19
20 ::media::AudioManager* CastAudioManagerFactory::CreateInstance(
21 ::media::AudioLogFactory* audio_log_factory) {
22 // Create an AudioManager and pass ownership to the caller.
23 return new CastAudioManager(audio_log_factory,
24 media::CastMediaShlib::GetAudioOutputDevice());
25 }
26
27 } // namespace media
28 } // namespace chromecast
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698