| OLD | NEW |
| 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 | 10 |
| 11 #include "base/cancelable_callback.h" | 11 #include "base/cancelable_callback.h" |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/macros.h" |
| 13 #include "base/time/time.h" | 14 #include "base/time/time.h" |
| 14 #include "media/audio/audio_io.h" | 15 #include "media/audio/audio_io.h" |
| 15 #include "media/audio/audio_parameters.h" | 16 #include "media/audio/audio_parameters.h" |
| 16 | 17 |
| 17 namespace media { | 18 namespace media { |
| 18 | 19 |
| 19 class AudioBus; | 20 class AudioBus; |
| 20 class AudioManagerMac; | 21 class AudioManagerMac; |
| 21 | 22 |
| 22 // Implementation of AudioInputStream for Mac OS X using the audio queue service | 23 // Implementation of AudioInputStream for Mac OS X using the audio queue service |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 base::CancelableClosure deferred_start_cb_; | 87 base::CancelableClosure deferred_start_cb_; |
| 87 | 88 |
| 88 scoped_ptr<media::AudioBus> audio_bus_; | 89 scoped_ptr<media::AudioBus> audio_bus_; |
| 89 | 90 |
| 90 DISALLOW_COPY_AND_ASSIGN(PCMQueueInAudioInputStream); | 91 DISALLOW_COPY_AND_ASSIGN(PCMQueueInAudioInputStream); |
| 91 }; | 92 }; |
| 92 | 93 |
| 93 } // namespace media | 94 } // namespace media |
| 94 | 95 |
| 95 #endif // MEDIA_AUDIO_MAC_AUDIO_INPUT_MAC_H_ | 96 #endif // MEDIA_AUDIO_MAC_AUDIO_INPUT_MAC_H_ |
| OLD | NEW |