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

Side by Side Diff: media/base/audio_pull_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_hash.h ('k') | media/base/audio_renderer.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_PULL_FIFO_H_ 5 #ifndef MEDIA_BASE_AUDIO_PULL_FIFO_H_
6 #define MEDIA_BASE_AUDIO_PULL_FIFO_H_ 6 #define MEDIA_BASE_AUDIO_PULL_FIFO_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 #include "media/base/media_export.h" 10 #include "media/base/media_export.h"
10 11
11 namespace media { 12 namespace media {
12 class AudioBus; 13 class AudioBus;
13 14
14 // A FIFO (First In First Out) buffer to handle mismatches in buffer sizes 15 // A FIFO (First In First Out) buffer to handle mismatches in buffer sizes
15 // between a producer and consumer. The consumer will pull data from this FIFO. 16 // between a producer and consumer. The consumer will pull data from this FIFO.
16 // If data is already available in the FIFO, it is provided to the consumer. 17 // If data is already available in the FIFO, it is provided to the consumer.
17 // If insufficient data is available to satisfy the request, the FIFO will ask 18 // If insufficient data is available to satisfy the request, the FIFO will ask
18 // the producer for more data to fulfill a request. 19 // the producer for more data to fulfill a request.
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 // Temporary audio bus to hold the data from the producer. 52 // Temporary audio bus to hold the data from the producer.
52 scoped_ptr<AudioBus> fifo_; 53 scoped_ptr<AudioBus> fifo_;
53 int fifo_index_; 54 int fifo_index_;
54 55
55 DISALLOW_COPY_AND_ASSIGN(AudioPullFifo); 56 DISALLOW_COPY_AND_ASSIGN(AudioPullFifo);
56 }; 57 };
57 58
58 } // namespace media 59 } // namespace media
59 60
60 #endif // MEDIA_BASE_AUDIO_PULL_FIFO_H_ 61 #endif // MEDIA_BASE_AUDIO_PULL_FIFO_H_
OLDNEW
« no previous file with comments | « media/base/audio_hash.h ('k') | media/base/audio_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698