| 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 // Low-latency audio capturing class utilizing audio input stream provided | 5 // Low-latency audio capturing class utilizing audio input stream provided |
| 6 // by a server (browser) process by use of an IPC interface. | 6 // by a server (browser) process by use of an IPC interface. |
| 7 // | 7 // |
| 8 // Relationship of classes: | 8 // Relationship of classes: |
| 9 // | 9 // |
| 10 // AudioInputController AudioInputDevice | 10 // AudioInputController AudioInputDevice |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 // | 49 // |
| 50 // Implementation notes: | 50 // Implementation notes: |
| 51 // - The user must call Stop() before deleting the class instance. | 51 // - The user must call Stop() before deleting the class instance. |
| 52 | 52 |
| 53 #ifndef MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_ | 53 #ifndef MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_ |
| 54 #define MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_ | 54 #define MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_ |
| 55 | 55 |
| 56 #include <string> | 56 #include <string> |
| 57 | 57 |
| 58 #include "base/compiler_specific.h" | 58 #include "base/compiler_specific.h" |
| 59 #include "base/macros.h" |
| 59 #include "base/memory/scoped_ptr.h" | 60 #include "base/memory/scoped_ptr.h" |
| 60 #include "base/memory/shared_memory.h" | 61 #include "base/memory/shared_memory.h" |
| 61 #include "media/audio/audio_device_thread.h" | 62 #include "media/audio/audio_device_thread.h" |
| 62 #include "media/audio/audio_input_ipc.h" | 63 #include "media/audio/audio_input_ipc.h" |
| 63 #include "media/audio/audio_parameters.h" | 64 #include "media/audio/audio_parameters.h" |
| 64 #include "media/audio/scoped_task_runner_observer.h" | 65 #include "media/audio/scoped_task_runner_observer.h" |
| 65 #include "media/base/audio_capturer_source.h" | 66 #include "media/base/audio_capturer_source.h" |
| 66 #include "media/base/media_export.h" | 67 #include "media/base/media_export.h" |
| 67 | 68 |
| 68 namespace media { | 69 namespace media { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // TODO(miu): Replace this by changing AudioCapturerSource to accept the | 166 // TODO(miu): Replace this by changing AudioCapturerSource to accept the |
| 166 // callback via Start(). See http://crbug.com/151051 for details. | 167 // callback via Start(). See http://crbug.com/151051 for details. |
| 167 bool stopping_hack_; | 168 bool stopping_hack_; |
| 168 | 169 |
| 169 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputDevice); | 170 DISALLOW_IMPLICIT_CONSTRUCTORS(AudioInputDevice); |
| 170 }; | 171 }; |
| 171 | 172 |
| 172 } // namespace media | 173 } // namespace media |
| 173 | 174 |
| 174 #endif // MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_ | 175 #endif // MEDIA_AUDIO_AUDIO_INPUT_DEVICE_H_ |
| OLD | NEW |