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

Side by Side Diff: media/audio/mac/audio_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_auhal_mac.h ('k') | media/audio/mac/audio_low_latency_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 (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_INPUT_MAC_H_ 5 #ifndef MEDIA_AUDIO_MAC_AUDIO_INPUT_MAC_H_
6 #define MEDIA_AUDIO_MAC_AUDIO_INPUT_MAC_H_ 6 #define MEDIA_AUDIO_MAC_AUDIO_INPUT_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 <stdint.h> 10 #include <stdint.h>
11 11
12 #include "base/cancelable_callback.h" 12 #include "base/cancelable_callback.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/time/time.h" 15 #include "base/time/time.h"
16 #include "media/audio/audio_io.h" 16 #include "media/audio/audio_io.h"
17 #include "media/audio/audio_parameters.h" 17 #include "media/base/audio_parameters.h"
18 18
19 namespace media { 19 namespace media {
20 20
21 class AudioBus; 21 class AudioBus;
22 class AudioManagerMac; 22 class AudioManagerMac;
23 23
24 // Implementation of AudioInputStream for Mac OS X using the audio queue service 24 // Implementation of AudioInputStream for Mac OS X using the audio queue service
25 // present in OS 10.5 and later. Design reflects PCMQueueOutAudioOutputStream. 25 // present in OS 10.5 and later. Design reflects PCMQueueOutAudioOutputStream.
26 class PCMQueueInAudioInputStream : public AudioInputStream { 26 class PCMQueueInAudioInputStream : public AudioInputStream {
27 public: 27 public:
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 base::CancelableClosure deferred_start_cb_; 88 base::CancelableClosure deferred_start_cb_;
89 89
90 scoped_ptr<media::AudioBus> audio_bus_; 90 scoped_ptr<media::AudioBus> audio_bus_;
91 91
92 DISALLOW_COPY_AND_ASSIGN(PCMQueueInAudioInputStream); 92 DISALLOW_COPY_AND_ASSIGN(PCMQueueInAudioInputStream);
93 }; 93 };
94 94
95 } // namespace media 95 } // namespace media
96 96
97 #endif // MEDIA_AUDIO_MAC_AUDIO_INPUT_MAC_H_ 97 #endif // MEDIA_AUDIO_MAC_AUDIO_INPUT_MAC_H_
OLDNEW
« no previous file with comments | « media/audio/mac/audio_auhal_mac.h ('k') | media/audio/mac/audio_low_latency_input_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698