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

Side by Side Diff: audio/mac/audio_output_mac.h

Issue 10833028: Make audio build on the Mac OS X 10.7 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/media/
Patch Set: Created 8 years, 5 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
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_AUDIO_MAC_AUDIO_OUTPUT_MAC_H_ 5 #ifndef MEDIA_AUDIO_MAC_AUDIO_OUTPUT_MAC_H_
6 #define MEDIA_AUDIO_MAC_AUDIO_OUTPUT_MAC_H_ 6 #define MEDIA_AUDIO_MAC_AUDIO_OUTPUT_MAC_H_
7 7
8 #include <AudioToolbox/AudioFormat.h> 8 #include <AudioToolbox/AudioFormat.h>
9 #include <AudioToolbox/AudioQueue.h> 9 #include <AudioToolbox/AudioQueue.h>
10 #include <AudioUnit/AudioUnit.h> 10 #include <AudioUnit/AudioUnit.h>
11 #include <CoreAudio/CoreAudio.h>
11 12
12 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
13 #include "base/synchronization/lock.h" 14 #include "base/synchronization/lock.h"
14 #include "base/synchronization/waitable_event.h" 15 #include "base/synchronization/waitable_event.h"
15 #include "media/audio/audio_io.h" 16 #include "media/audio/audio_io.h"
16 #include "media/audio/audio_parameters.h" 17 #include "media/audio/audio_parameters.h"
17 18
18 namespace media { 19 namespace media {
19 20
20 class AudioManagerMac; 21 class AudioManagerMac;
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // When stopping we keep track of number of buffers in flight and 104 // When stopping we keep track of number of buffers in flight and
104 // signal "stop completed" from the last buffer's callback. 105 // signal "stop completed" from the last buffer's callback.
105 int num_buffers_left_; 106 int num_buffers_left_;
106 107
107 DISALLOW_COPY_AND_ASSIGN(PCMQueueOutAudioOutputStream); 108 DISALLOW_COPY_AND_ASSIGN(PCMQueueOutAudioOutputStream);
108 }; 109 };
109 110
110 } // namespace media 111 } // namespace media
111 112
112 #endif // MEDIA_AUDIO_MAC_AUDIO_OUTPUT_MAC_H_ 113 #endif // MEDIA_AUDIO_MAC_AUDIO_OUTPUT_MAC_H_
OLDNEW
« audio/mac/audio_low_latency_output_mac.cc ('K') | « audio/mac/audio_low_latency_output_mac.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698