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

Side by Side Diff: content/browser/renderer_host/media/audio_input_renderer_host.h

Issue 8340028: Salient parts of http://codereview.chromium.org/8392042/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // OnCreateStream() request is only available in the low latency mode. It will 8 // OnCreateStream() request is only available in the low latency mode. It will
9 // creates a shared memory, a SyncWriter and a AudioInputController for the 9 // creates a shared memory, a SyncWriter and a AudioInputController for the
10 // input stream. 10 // input stream.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #pragma once 56 #pragma once
57 57
58 #include <map> 58 #include <map>
59 59
60 #include "base/gtest_prod_util.h" 60 #include "base/gtest_prod_util.h"
61 #include "base/memory/ref_counted.h" 61 #include "base/memory/ref_counted.h"
62 #include "base/memory/scoped_ptr.h" 62 #include "base/memory/scoped_ptr.h"
63 #include "base/process.h" 63 #include "base/process.h"
64 #include "base/shared_memory.h" 64 #include "base/shared_memory.h"
65 #include "content/browser/browser_message_filter.h" 65 #include "content/browser/browser_message_filter.h"
66 #include "content/browser/browser_thread.h"
67 #include "content/browser/renderer_host/media/audio_input_device_manager_event_h andler.h" 66 #include "content/browser/renderer_host/media/audio_input_device_manager_event_h andler.h"
67 #include "content/public/browser/browser_thread.h"
68 #include "media/audio/audio_input_controller.h" 68 #include "media/audio/audio_input_controller.h"
69 #include "media/audio/audio_io.h" 69 #include "media/audio/audio_io.h"
70 #include "media/audio/simple_sources.h" 70 #include "media/audio/simple_sources.h"
71 71
72 namespace content { 72 namespace content {
73 class ResourceContext; 73 class ResourceContext;
74 } 74 }
75 75
76 class AudioManager; 76 class AudioManager;
77 struct AudioParameters; 77 struct AudioParameters;
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 AudioEntryMap audio_entries_; 212 AudioEntryMap audio_entries_;
213 213
214 // A map of session IDs to audio session sources. 214 // A map of session IDs to audio session sources.
215 typedef std::map<int, int> SessionEntryMap; 215 typedef std::map<int, int> SessionEntryMap;
216 SessionEntryMap session_entries_; 216 SessionEntryMap session_entries_;
217 217
218 DISALLOW_COPY_AND_ASSIGN(AudioInputRendererHost); 218 DISALLOW_COPY_AND_ASSIGN(AudioInputRendererHost);
219 }; 219 };
220 220
221 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_RENDERER_HOST_H_ 221 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_AUDIO_INPUT_RENDERER_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698