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

Side by Side Diff: media/audio/mac/audio_low_latency_input_mac.h

Issue 11087021: Cleanup: IWYU for base/time.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 2 months 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 | Annotate | Revision Log
« no previous file with comments | « media/audio/linux/cras_input.h ('k') | media/webm/webm_tracks_parser.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 24 matching lines...) Expand all
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/memory/scoped_ptr.h" 43 #include "base/memory/scoped_ptr.h"
44 #include "base/synchronization/lock.h" 44 #include "base/synchronization/lock.h"
45 #include "base/time.h"
46 #include "media/audio/audio_io.h" 45 #include "media/audio/audio_io.h"
47 #include "media/audio/audio_input_stream_impl.h" 46 #include "media/audio/audio_input_stream_impl.h"
48 #include "media/audio/audio_parameters.h" 47 #include "media/audio/audio_parameters.h"
49 48
50 namespace media { 49 namespace media {
51 50
52 class AudioManagerMac; 51 class AudioManagerMac;
53 52
54 class AUAudioInputStream : public AudioInputStreamImpl { 53 class AUAudioInputStream : public AudioInputStreamImpl {
55 public: 54 public:
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // The number of channels in each frame of audio data, which is used 144 // The number of channels in each frame of audio data, which is used
146 // when querying the volume of each channel. 145 // when querying the volume of each channel.
147 int number_of_channels_in_frame_; 146 int number_of_channels_in_frame_;
148 147
149 DISALLOW_COPY_AND_ASSIGN(AUAudioInputStream); 148 DISALLOW_COPY_AND_ASSIGN(AUAudioInputStream);
150 }; 149 };
151 150
152 } // namespace media 151 } // namespace media
153 152
154 #endif // MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_ 153 #endif // MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_
OLDNEW
« no previous file with comments | « media/audio/linux/cras_input.h ('k') | media/webm/webm_tracks_parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698