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

Side by Side Diff: media/audio/mac/audio_low_latency_input_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/mac/audio_input_mac.h ('k') | media/audio/mac/audio_manager_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 // 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 #include "base/atomicops.h" 44 #include "base/atomicops.h"
45 #include "base/cancelable_callback.h" 45 #include "base/cancelable_callback.h"
46 #include "base/macros.h" 46 #include "base/macros.h"
47 #include "base/memory/scoped_ptr.h" 47 #include "base/memory/scoped_ptr.h"
48 #include "base/memory/weak_ptr.h" 48 #include "base/memory/weak_ptr.h"
49 #include "base/threading/thread_checker.h" 49 #include "base/threading/thread_checker.h"
50 #include "base/time/time.h" 50 #include "base/time/time.h"
51 #include "base/timer/timer.h" 51 #include "base/timer/timer.h"
52 #include "media/audio/agc_audio_stream.h" 52 #include "media/audio/agc_audio_stream.h"
53 #include "media/audio/audio_io.h" 53 #include "media/audio/audio_io.h"
54 #include "media/audio/audio_parameters.h"
55 #include "media/base/audio_block_fifo.h" 54 #include "media/base/audio_block_fifo.h"
55 #include "media/base/audio_parameters.h"
56 56
57 namespace media { 57 namespace media {
58 58
59 class AudioBus; 59 class AudioBus;
60 class AudioManagerMac; 60 class AudioManagerMac;
61 class DataBuffer; 61 class DataBuffer;
62 62
63 class MEDIA_EXPORT AUAudioInputStream 63 class MEDIA_EXPORT AUAudioInputStream
64 : public AgcAudioStream<AudioInputStream> { 64 : public AgcAudioStream<AudioInputStream> {
65 public: 65 public:
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 // this object is destroyed. 327 // this object is destroyed.
328 // Note that, all member variables should appear before the WeakPtrFactory. 328 // Note that, all member variables should appear before the WeakPtrFactory.
329 base::WeakPtrFactory<AUAudioInputStream> weak_factory_; 329 base::WeakPtrFactory<AUAudioInputStream> weak_factory_;
330 330
331 DISALLOW_COPY_AND_ASSIGN(AUAudioInputStream); 331 DISALLOW_COPY_AND_ASSIGN(AUAudioInputStream);
332 }; 332 };
333 333
334 } // namespace media 334 } // namespace media
335 335
336 #endif // MEDIA_AUDIO_MAC_AUDIO_LOW_LATENCY_INPUT_MAC_H_ 336 #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.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698