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/audio/mac/audio_auhal_mac.h

Issue 1907973003: media: Move audio_parameters and audio_point to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 | « media/audio/fake_audio_worker_unittest.cc ('k') | media/audio/mac/audio_input_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 notes: 5 // Implementation notes:
6 // 6 //
7 // - It is recommended to first acquire the native sample rate of the default 7 // - It is recommended to first acquire the native sample rate of the default
8 // output device and then use the same rate when creating this object. 8 // output device and then use the same rate when creating this object.
9 // Use AudioManagerMac::HardwareSampleRate() to retrieve the sample rate. 9 // Use AudioManagerMac::HardwareSampleRate() to retrieve the sample rate.
10 // - Calling Close() also leads to self destruction. 10 // - Calling Close() also leads to self destruction.
(...skipping 10 matching lines...) Expand all
21 #include <CoreAudio/CoreAudio.h> 21 #include <CoreAudio/CoreAudio.h>
22 #include <stddef.h> 22 #include <stddef.h>
23 #include <stdint.h> 23 #include <stdint.h>
24 24
25 #include "base/cancelable_callback.h" 25 #include "base/cancelable_callback.h"
26 #include "base/compiler_specific.h" 26 #include "base/compiler_specific.h"
27 #include "base/macros.h" 27 #include "base/macros.h"
28 #include "base/synchronization/lock.h" 28 #include "base/synchronization/lock.h"
29 #include "base/threading/thread_checker.h" 29 #include "base/threading/thread_checker.h"
30 #include "media/audio/audio_io.h" 30 #include "media/audio/audio_io.h"
31 #include "media/audio/audio_parameters.h" 31 #include "media/base/audio_parameters.h"
32 32
33 namespace media { 33 namespace media {
34 34
35 class AudioManagerMac; 35 class AudioManagerMac;
36 class AudioPullFifo; 36 class AudioPullFifo;
37 37
38 // Implementation of AudioOuputStream for Mac OS X using the 38 // Implementation of AudioOuputStream for Mac OS X using the
39 // AUHAL Audio Unit present in OS 10.4 and later. 39 // AUHAL Audio Unit present in OS 10.4 and later.
40 // It is useful for low-latency output. 40 // It is useful for low-latency output.
41 // 41 //
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Used to make sure control functions (Start(), Stop() etc) are called on the 212 // Used to make sure control functions (Start(), Stop() etc) are called on the
213 // right thread. 213 // right thread.
214 base::ThreadChecker thread_checker_; 214 base::ThreadChecker thread_checker_;
215 215
216 DISALLOW_COPY_AND_ASSIGN(AUHALStream); 216 DISALLOW_COPY_AND_ASSIGN(AUHALStream);
217 }; 217 };
218 218
219 } // namespace media 219 } // namespace media
220 220
221 #endif // MEDIA_AUDIO_MAC_AUDIO_AUHAL_MAC_H_ 221 #endif // MEDIA_AUDIO_MAC_AUDIO_AUHAL_MAC_H_
OLDNEW
« no previous file with comments | « media/audio/fake_audio_worker_unittest.cc ('k') | media/audio/mac/audio_input_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698