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

Unified Diff: media/renderers/audio_renderer_impl.h

Issue 1942803002: Caching AudioOutputDevice instances in mixer manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make WebAudioSourceProvider to always return real sink info reguardless the client - to avoid behavior change. Created 4 years, 7 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 | « media/mojo/services/test_mojo_media_client.cc ('k') | media/renderers/audio_renderer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/renderers/audio_renderer_impl.h
diff --git a/media/renderers/audio_renderer_impl.h b/media/renderers/audio_renderer_impl.h
index 3412c0cb0e65dc49e2393b1010e22e530970d444..9130535c85e9bbd9d75953ed7071a68d16b9f4e0 100644
--- a/media/renderers/audio_renderer_impl.h
+++ b/media/renderers/audio_renderer_impl.h
@@ -64,7 +64,6 @@ class MEDIA_EXPORT AudioRendererImpl
const scoped_refptr<base::SingleThreadTaskRunner>& task_runner,
AudioRendererSink* sink,
ScopedVector<AudioDecoder> decoders,
- const AudioHardwareConfig& hardware_config,
const scoped_refptr<MediaLog>& media_log);
~AudioRendererImpl() override;
@@ -210,12 +209,9 @@ class MEDIA_EXPORT AudioRendererImpl
std::unique_ptr<AudioBufferStream> audio_buffer_stream_;
- // Interface to the hardware audio params.
- const AudioHardwareConfig& hardware_config_;
-
scoped_refptr<MediaLog> media_log_;
- // Cached copy of hardware params from |hardware_config_|.
+ // Cached copy of hardware params from |sink_|.
AudioParameters audio_parameters_;
RendererClient* client_;
« no previous file with comments | « media/mojo/services/test_mojo_media_client.cc ('k') | media/renderers/audio_renderer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698