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

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: Rebase, fix for sleep() compile error on win and a bit of cleanup around timeouts. 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
Index: media/renderers/audio_renderer_impl.h
diff --git a/media/renderers/audio_renderer_impl.h b/media/renderers/audio_renderer_impl.h
index f6d22237d08833a888c95049796d0e3fe2ef1b92..fde50ed9e9792ae7d453dd083836bdb996bc1772 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;
@@ -207,12 +206,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_;
// Callbacks provided during Initialize().

Powered by Google App Engine
This is Rietveld 408576698