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 // AudioInputRendererHost serves audio related requests from audio capturer | 5 // AudioInputRendererHost serves audio related requests from audio capturer |
6 // which lives inside the render process and provide access to audio hardware. | 6 // which lives inside the render process and provide access to audio hardware. |
7 // | 7 // |
8 // Create stream sequence (AudioInputController = AIC): | 8 // Create stream sequence (AudioInputController = AIC): |
9 // | 9 // |
10 // AudioInputHostMsg_CreateStream -> OnCreateStream -> AIC::CreateLowLatency -> | 10 // AudioInputHostMsg_CreateStream -> OnCreateStream -> AIC::CreateLowLatency -> |
(...skipping 14 matching lines...) Expand all Loading... |
25 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_RENDERER_HOST_H_ | 25 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_RENDERER_HOST_H_ |
26 | 26 |
27 #include <map> | 27 #include <map> |
28 #include <string> | 28 #include <string> |
29 | 29 |
30 #include "base/compiler_specific.h" | 30 #include "base/compiler_specific.h" |
31 #include "base/gtest_prod_util.h" | 31 #include "base/gtest_prod_util.h" |
32 #include "base/memory/ref_counted.h" | 32 #include "base/memory/ref_counted.h" |
33 #include "base/memory/scoped_ptr.h" | 33 #include "base/memory/scoped_ptr.h" |
34 #include "base/process.h" | 34 #include "base/process.h" |
| 35 #include "base/sequenced_task_runner_helpers.h" |
35 #include "base/shared_memory.h" | 36 #include "base/shared_memory.h" |
36 #include "base/task/sequenced_task_runner_helpers.h" | |
37 #include "content/common/media/audio_messages.h" | 37 #include "content/common/media/audio_messages.h" |
38 #include "content/public/browser/browser_message_filter.h" | 38 #include "content/public/browser/browser_message_filter.h" |
39 #include "content/public/browser/browser_thread.h" | 39 #include "content/public/browser/browser_thread.h" |
40 #include "media/audio/audio_input_controller.h" | 40 #include "media/audio/audio_input_controller.h" |
41 #include "media/audio/audio_io.h" | 41 #include "media/audio/audio_io.h" |
42 #include "media/audio/simple_sources.h" | 42 #include "media/audio/simple_sources.h" |
43 | 43 |
44 namespace media { | 44 namespace media { |
45 class AudioManager; | 45 class AudioManager; |
46 class AudioParameters; | 46 class AudioParameters; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 150 |
151 // A map of stream IDs to audio sources. | 151 // A map of stream IDs to audio sources. |
152 AudioEntryMap audio_entries_; | 152 AudioEntryMap audio_entries_; |
153 | 153 |
154 DISALLOW_COPY_AND_ASSIGN(AudioInputRendererHost); | 154 DISALLOW_COPY_AND_ASSIGN(AudioInputRendererHost); |
155 }; | 155 }; |
156 | 156 |
157 } // namespace content | 157 } // namespace content |
158 | 158 |
159 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_RENDERER_HOST_H_ | 159 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_RENDERER_HOST_H_ |
OLD | NEW |