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

Unified Diff: media/renderers/audio_renderer_impl.cc

Issue 1229123002: Log audio splice sanitizer warnings and errors to media-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address xhwang@'s comments and fix the unit test Created 5 years, 5 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/base/audio_splicer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/renderers/audio_renderer_impl.cc
diff --git a/media/renderers/audio_renderer_impl.cc b/media/renderers/audio_renderer_impl.cc
index 2a3c13f8352e4088bc92fcc37730e1d1dd102979..8df794155ad5bbd8a224c6ff808792e84d5e0f61 100644
--- a/media/renderers/audio_renderer_impl.cc
+++ b/media/renderers/audio_renderer_impl.cc
@@ -395,7 +395,7 @@ void AudioRendererImpl::OnAudioBufferStreamInitialized(bool success) {
if (expecting_config_changes_)
buffer_converter_.reset(new AudioBufferConverter(audio_parameters_));
- splicer_.reset(new AudioSplicer(audio_parameters_.sample_rate()));
+ splicer_.reset(new AudioSplicer(audio_parameters_.sample_rate(), media_log_));
// We're all good! Continue initializing the rest of the audio renderer
// based on the decoder format.
« no previous file with comments | « media/base/audio_splicer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698