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

Side by Side Diff: media/audio/mac/audio_low_latency_input_mac.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/mac/audio_input_mac.h ('k') | media/audio/mac/audio_manager_mac.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 // Implementation of AudioInputStream for Mac OS X using the special AUHAL 5 // Implementation of AudioInputStream for Mac OS X using the special AUHAL
6 // input Audio Unit present in OS 10.4 and later. 6 // input Audio Unit present in OS 10.4 and later.
7 // The AUHAL input Audio Unit is for low-latency audio I/O. 7 // The AUHAL input Audio Unit is for low-latency audio I/O.
8 // 8 //
9 // Overview of operation: 9 // Overview of operation:
10 // 10 //
(...skipping 23 matching lines...) Expand all
34 // data packet is provided as a callback. 34 // data packet is provided as a callback.
35 // 35 //
36 #ifndef MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_ 36 #ifndef MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_
37 #define MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_ 37 #define MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_
38 38
39 #include <AudioUnit/AudioUnit.h> 39 #include <AudioUnit/AudioUnit.h>
40 #include <CoreAudio/CoreAudio.h> 40 #include <CoreAudio/CoreAudio.h>
41 41
42 #include "base/atomicops.h" 42 #include "base/atomicops.h"
43 #include "base/cancelable_callback.h" 43 #include "base/cancelable_callback.h"
44 #include "base/macros.h"
44 #include "base/memory/scoped_ptr.h" 45 #include "base/memory/scoped_ptr.h"
45 #include "base/synchronization/lock.h" 46 #include "base/synchronization/lock.h"
46 #include "base/threading/thread_checker.h" 47 #include "base/threading/thread_checker.h"
47 #include "base/time/time.h" 48 #include "base/time/time.h"
48 #include "base/timer/timer.h" 49 #include "base/timer/timer.h"
49 #include "media/audio/agc_audio_stream.h" 50 #include "media/audio/agc_audio_stream.h"
50 #include "media/audio/audio_io.h" 51 #include "media/audio/audio_io.h"
51 #include "media/audio/audio_parameters.h" 52 #include "media/audio/audio_parameters.h"
52 #include "media/base/audio_block_fifo.h" 53 #include "media/base/audio_block_fifo.h"
53 54
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 // Set to true if the audio unit's IO buffer was changed when Open() was 203 // Set to true if the audio unit's IO buffer was changed when Open() was
203 // called. 204 // called.
204 bool buffer_size_was_changed_; 205 bool buffer_size_was_changed_;
205 206
206 DISALLOW_COPY_AND_ASSIGN(AUAudioInputStream); 207 DISALLOW_COPY_AND_ASSIGN(AUAudioInputStream);
207 }; 208 };
208 209
209 } // namespace media 210 } // namespace media
210 211
211 #endif // MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_ 212 #endif // MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_
OLDNEW
« no previous file with comments | « media/audio/mac/audio_input_mac.h ('k') | media/audio/mac/audio_manager_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698