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

Side by Side Diff: services/media/audio/fwd_decls.h

Issue 1424933002: Add an initial revision of an audio server. (Closed) Base URL: https://github.com/domokit/mojo.git@change4
Patch Set: fix issues discovered with initial preflight Created 5 years, 1 month 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 SERVICES_MEDIA_AUDIO_FWD_DECLS_H__
6 #define SERVICES_MEDIA_AUDIO_FWD_DECLS_H__
7
8 #include <memory>
9 #include <set>
10
11 namespace mojo {
12 namespace media {
13 namespace audio {
14
15 class AudioOutput;
16 class AudioOutputManager;
17 class AudioServerImpl;
18 class AudioTrackImpl;
19 class AudioTrackToOutputLink;
20
21 using AudioOutputPtr = std::shared_ptr<AudioOutput>;
22 using AudioOutputSet = std::set<AudioOutputPtr,
23 std::owner_less<AudioOutputPtr>>;
24 using AudioOutputWeakPtr = std::weak_ptr<AudioOutput>;
25 using AudioOutputWeakSet = std::set<AudioOutputWeakPtr,
26 std::owner_less<AudioOutputWeakPtr>>;
27
28 using AudioTrackImplPtr = std::shared_ptr<AudioTrackImpl>;
29 using AudioTrackImplSet = std::set<AudioTrackImplPtr,
30 std::owner_less<AudioTrackImplPtr>>;
31 using AudioTrackImplWeakPtr = std::weak_ptr<AudioTrackImpl>;
32 using AudioTrackImplWeakSet = std::set<AudioTrackImplWeakPtr,
33 std::owner_less<AudioTrackImplWeakPtr>>;
34
35 using AudioTrackToOutputLinkPtr = std::shared_ptr<AudioTrackToOutputLink>;
36 using AudioTrackToOutputLinkSet =
37 std::set<AudioTrackToOutputLinkPtr,
38 std::owner_less<AudioTrackToOutputLinkPtr>>;
39
40 } // namespace audio
41 } // namespace media
42 } // namespace mojo
43
44 #endif // SERVICES_MEDIA_AUDIO_FWD_DECLS_H__
OLDNEW
« no previous file with comments | « services/media/audio/audio_track_to_output_link.cc ('k') | services/media/audio/platform/generic/mixer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698