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

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

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 #ifndef CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_FACTORY_H_
6 #define CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_FACTORY_H_
7
8 #include "base/macros.h"
9 #include "media/audio/audio_manager_factory.h"
10
11 namespace chromecast {
12 namespace media {
13
14 class CastAudioOutputDevice;
15
16 // Implementation of ::media::AudioManagerFactory which creates an instance of
17 // CastAudioManager, which acts as a proxy to the platform implementation of
18 // CastAudioOutputDevice.
19 class CastAudioManagerFactory : public ::media::AudioManagerFactory {
20 public:
21 CastAudioManagerFactory();
22 ~CastAudioManagerFactory() override;
23
24 // Creates and returns a CastAudioManager instance. Caller owns the
25 // reutrned instance.
26 ::media::AudioManager* CreateInstance(
27 ::media::AudioLogFactory* audio_log_factory) override;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(CastAudioManagerFactory);
31 };
32
33 } // namespace media
34 } // namespace chromecast
35
36 #endif // CHROMECAST_MEDIA_AUDIO_CAST_AUDIO_MANAGER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698