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

Unified Diff: media/filters/pipeline_integration_test_base.cc

Issue 284763002: Update AudioRenderer API to fire changes in BufferingState. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/filters/pipeline_integration_test_base.cc
diff --git a/media/filters/pipeline_integration_test_base.cc b/media/filters/pipeline_integration_test_base.cc
index 1fd5288e057b5b1a0021dd59c016c837309b89ef..899c6764fe98528d1bd531faa9b2c9c8bed09d5d 100644
--- a/media/filters/pipeline_integration_test_base.cc
+++ b/media/filters/pipeline_integration_test_base.cc
@@ -284,11 +284,8 @@ PipelineIntegrationTestBase::CreateFilterCollection(
base::Unretained(this),
decryptor),
&hardware_config_);
- // Disable underflow if hashing is enabled.
- if (hashing_enabled_) {
+ if (hashing_enabled_)
audio_sink_->StartAudioHashForTesting();
- audio_renderer_impl->DisableUnderflowForTesting();
scherkus (not reviewing) 2014/05/13 04:18:20 note to self ... I need to verify if this still wo
DaleCurtis 2014/05/13 17:54:00 It's so frames aren't dropped which would mess up
- }
scoped_ptr<AudioRenderer> audio_renderer(audio_renderer_impl);
collection->SetAudioRenderer(audio_renderer.Pass());

Powered by Google App Engine
This is Rietveld 408576698