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

Unified Diff: content/renderer/render_thread_impl.h

Issue 11880009: Introduce AudioHardwareConfig for renderer side audio device info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style nits. 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..0ca742040f927c7306784c638dcb91ba10b2442b 100644
--- a/content/renderer/render_thread_impl.h
+++ b/content/renderer/render_thread_impl.h
@@ -45,6 +45,10 @@ namespace IPC {
class ForwardingMessageFilter;
}
+namespace media {
+class AudioHardwareConfig;
+}
+
namespace v8 {
class Extension;
}
@@ -246,6 +250,11 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
// first call.
AudioRendererMixerManager* GetAudioRendererMixerManager();
+ // AudioHardwareConfig contains audio hardware configuration for
+ // renderer side clients. Creation requires a synchronous IPC call so it is
+ // lazily created on the first call.
+ media::AudioHardwareConfig* GetAudioHardwareConfig();
+
#if defined(OS_WIN)
void PreCacheFontCharacters(const LOGFONT& log_font, const string16& str);
#endif
@@ -381,6 +390,7 @@ class CONTENT_EXPORT RenderThreadImpl : public RenderThread,
scoped_ptr<WebGraphicsContext3DCommandBufferImpl> gpu_vda_context3d_;
scoped_ptr<AudioRendererMixerManager> audio_renderer_mixer_manager_;
+ scoped_ptr<media::AudioHardwareConfig> 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