| Index: chromecast/media/audio/cast_audio_manager_factory.cc
|
| diff --git a/chromecast/media/audio/cast_audio_manager_factory.cc b/chromecast/media/audio/cast_audio_manager_factory.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..7b92aa08aede3e9a5460fa9d23257d00a47bffd0
|
| --- /dev/null
|
| +++ b/chromecast/media/audio/cast_audio_manager_factory.cc
|
| @@ -0,0 +1,28 @@
|
| +// 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/cast_audio_manager_factory.h"
|
| +
|
| +#include "base/logging.h"
|
| +#include "chromecast/media/audio/cast_audio_manager.h"
|
| +#include "chromecast/public/cast_media_shlib.h"
|
| +
|
| +namespace chromecast {
|
| +namespace media {
|
| +
|
| +CastAudioManagerFactory::CastAudioManagerFactory() {
|
| +}
|
| +
|
| +CastAudioManagerFactory::~CastAudioManagerFactory() {
|
| +}
|
| +
|
| +::media::AudioManager* CastAudioManagerFactory::CreateInstance(
|
| + ::media::AudioLogFactory* audio_log_factory) {
|
| + // Create an AudioManager and pass ownership to the caller.
|
| + return new CastAudioManager(audio_log_factory,
|
| + media::CastMediaShlib::GetAudioOutputDevice());
|
| +}
|
| +
|
| +} // namespace media
|
| +} // namespace chromecast
|
|
|