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

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

Issue 8463010: Add CONTENT_EXPORT AudioInputRendererHost to fix the shared build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Added export for base class too 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 | Annotate | Revision Log
« no previous file with comments | « content/browser/renderer_host/media/audio_input_device_manager_event_handler.h ('k') | no next file » | 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) 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
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;
78 78
79 class AudioInputRendererHost 79 class CONTENT_EXPORT AudioInputRendererHost
80 : public BrowserMessageFilter, 80 : public BrowserMessageFilter,
81 public media::AudioInputController::EventHandler, 81 public media::AudioInputController::EventHandler,
82 public media_stream::AudioInputDeviceManagerEventHandler { 82 public media_stream::AudioInputDeviceManagerEventHandler {
83 public: 83 public:
84 struct AudioEntry { 84 struct AudioEntry {
85 AudioEntry(); 85 AudioEntry();
86 ~AudioEntry(); 86 ~AudioEntry();
87 87
88 // The AudioInputController that manages the audio input stream. 88 // The AudioInputController that manages the audio input stream.
89 scoped_refptr<media::AudioInputController> controller; 89 scoped_refptr<media::AudioInputController> controller;
(...skipping 122 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
« no previous file with comments | « content/browser/renderer_host/media/audio_input_device_manager_event_handler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698