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

Side by Side Diff: media/audio/cras/cras_unified.h

Issue 1535193003: Add missing macros includes in media/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
« no previous file with comments | « media/audio/cras/cras_input.h ('k') | media/audio/fake_audio_input_stream.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Creates a unified stream based on the cras (ChromeOS audio server) interface. 5 // Creates a unified stream based on the cras (ChromeOS audio server) interface.
6 // 6 //
7 // CrasUnifiedStream object is *not* thread-safe and should only be used 7 // CrasUnifiedStream object is *not* thread-safe and should only be used
8 // from the audio thread. 8 // from the audio thread.
9 9
10 #ifndef MEDIA_AUDIO_LINUX_CRAS_UNIFIED_H_ 10 #ifndef MEDIA_AUDIO_LINUX_CRAS_UNIFIED_H_
11 #define MEDIA_AUDIO_LINUX_CRAS_UNIFIED_H_ 11 #define MEDIA_AUDIO_LINUX_CRAS_UNIFIED_H_
12 12
13 #include <cras_client.h> 13 #include <cras_client.h>
14 14
15 #include "base/compiler_specific.h" 15 #include "base/compiler_specific.h"
16 #include "base/macros.h"
16 #include "media/audio/audio_io.h" 17 #include "media/audio/audio_io.h"
17 #include "media/audio/audio_parameters.h" 18 #include "media/audio/audio_parameters.h"
18 19
19 namespace media { 20 namespace media {
20 21
21 class AudioManagerCras; 22 class AudioManagerCras;
22 23
23 // Implementation of AudioOuputStream for Chrome OS using the Chrome OS audio 24 // Implementation of AudioOuputStream for Chrome OS using the Chrome OS audio
24 // server. 25 // server.
25 // TODO(dgreid): This class is used for only output, either remove all the 26 // TODO(dgreid): This class is used for only output, either remove all the
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 108
108 // Direciton of the stream. 109 // Direciton of the stream.
109 CRAS_STREAM_DIRECTION stream_direction_; 110 CRAS_STREAM_DIRECTION stream_direction_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(CrasUnifiedStream); 112 DISALLOW_COPY_AND_ASSIGN(CrasUnifiedStream);
112 }; 113 };
113 114
114 } // namespace media 115 } // namespace media
115 116
116 #endif // MEDIA_AUDIO_LINUX_CRAS_UNIFIED_H_ 117 #endif // MEDIA_AUDIO_LINUX_CRAS_UNIFIED_H_
OLDNEW
« no previous file with comments | « media/audio/cras/cras_input.h ('k') | media/audio/fake_audio_input_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698