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

Side by Side Diff: media/base/audio_fifo.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/base/audio_discard_helper.h ('k') | media/base/audio_hardware_config.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef MEDIA_BASE_AUDIO_FIFO_H_ 5 #ifndef MEDIA_BASE_AUDIO_FIFO_H_
6 #define MEDIA_BASE_AUDIO_FIFO_H_ 6 #define MEDIA_BASE_AUDIO_FIFO_H_
7 7
8 #include "base/macros.h"
8 #include "media/base/audio_bus.h" 9 #include "media/base/audio_bus.h"
9 #include "media/base/media_export.h" 10 #include "media/base/media_export.h"
10 11
11 namespace media { 12 namespace media {
12 13
13 // First-in first-out container for AudioBus elements. 14 // First-in first-out container for AudioBus elements.
14 // The maximum number of audio frames in the FIFO is set at construction and 15 // The maximum number of audio frames in the FIFO is set at construction and
15 // can not be extended dynamically. The allocated memory is utilized as a 16 // can not be extended dynamically. The allocated memory is utilized as a
16 // ring buffer. 17 // ring buffer.
17 // This class is thread-unsafe. 18 // This class is thread-unsafe.
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 58
58 // Current write position. 59 // Current write position.
59 int write_pos_; 60 int write_pos_;
60 61
61 DISALLOW_COPY_AND_ASSIGN(AudioFifo); 62 DISALLOW_COPY_AND_ASSIGN(AudioFifo);
62 }; 63 };
63 64
64 } // namespace media 65 } // namespace media
65 66
66 #endif // MEDIA_BASE_AUDIO_FIFO_H_ 67 #endif // MEDIA_BASE_AUDIO_FIFO_H_
OLDNEW
« no previous file with comments | « media/base/audio_discard_helper.h ('k') | media/base/audio_hardware_config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698