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

Side by Side Diff: media/audio/mac/audio_input_mac.cc

Issue 10785047: Remove all the OS X 10.6 SDK forward declarations. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
« no previous file with comments | « content/content_browser.gypi ('k') | media/audio/mac/audio_output_mac.cc » ('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 #include "media/audio/mac/audio_input_mac.h" 5 #include "media/audio/mac/audio_input_mac.h"
6 6
7 #include <CoreServices/CoreServices.h> 7 #include <CoreServices/CoreServices.h>
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "media/audio/audio_util.h" 11 #include "media/audio/audio_util.h"
12 #include "media/audio/mac/audio_manager_mac.h" 12 #include "media/audio/mac/audio_manager_mac.h"
13 13
14 #if !defined(MAC_OS_X_VERSION_10_6) || \
15 MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6
16 enum {
17 kAudioQueueErr_EnqueueDuringReset = -66632
18 };
19 #endif
20
21 namespace media { 14 namespace media {
22 15
23 PCMQueueInAudioInputStream::PCMQueueInAudioInputStream( 16 PCMQueueInAudioInputStream::PCMQueueInAudioInputStream(
24 AudioManagerMac* manager, const AudioParameters& params) 17 AudioManagerMac* manager, const AudioParameters& params)
25 : manager_(manager), 18 : manager_(manager),
26 callback_(NULL), 19 callback_(NULL),
27 audio_queue_(NULL), 20 audio_queue_(NULL),
28 buffer_size_bytes_(0), 21 buffer_size_bytes_(0),
29 started_(false) { 22 started_(false) {
30 // We must have a manager. 23 // We must have a manager.
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 // complications than it solves (memory barrier issues accessing it from 207 // complications than it solves (memory barrier issues accessing it from
215 // multiple threads, looses the means to indicate OnClosed to client). 208 // multiple threads, looses the means to indicate OnClosed to client).
216 // Should determine if we need to do something equivalent here. 209 // Should determine if we need to do something equivalent here.
217 return; 210 return;
218 } 211 }
219 HandleError(err); 212 HandleError(err);
220 } 213 }
221 } 214 }
222 215
223 } // namespace media 216 } // namespace media
OLDNEW
« no previous file with comments | « content/content_browser.gypi ('k') | media/audio/mac/audio_output_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698