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

Unified Diff: content/renderer/render_thread_impl.h

Issue 12102004: Renderer side audio device change wip... Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.h
diff --git a/content/renderer/render_thread_impl.h b/content/renderer/render_thread_impl.h
index a70be920d098f5f1b3b5861087e91c46fc22fa12..f771d7e4f459e369870ce4f118be1c353cb71229 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -65,6 +65,7 @@ class MediaStreamCenter;
class MediaStreamDependencyFactory;
class P2PSocketDispatcher;
class PeerConnectionTracker;
+class RendererAudioHardwareConfig;
class RendererWebKitPlatformSupportImpl;
class RenderProcessObserver;
class VideoCaptureImplManager;
@@ -246,6 +247,11 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
// first call.
AudioRendererMixerManager* GetAudioRendererMixerManager();
+ // RendererAudioHardwareConfig contains audio hardware configuration for
+ // renderer side clients. Creation requires a synchronous IPC call so it is
+ // lazily created on the first call.
+ RendererAudioHardwareConfig* GetAudioHardwareConfig();
+
#if defined(OS_WIN)
void PreCacheFontCharacters(const LOGFONT& log_font, const string16& str);
#endif
@@ -381,6 +387,7 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_;
scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
+ scoped_ptr<RendererAudioHardwareConfig> audio_hardware_config_;
HistogramCustomizer histogram_customizer_;
« no previous file with comments | « content/renderer/pepper/pepper_plugin_delegate_impl.cc ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698