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

Unified Diff: content/renderer/media/audio_renderer_impl_unittest.cc

Issue 8763010: Replace AudioDecoder::ProduceAudioSamples/ConsumeAudioSamples with read callbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix mac tests Created 9 years 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 | « no previous file | media/base/filters.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_renderer_impl_unittest.cc
diff --git a/content/renderer/media/audio_renderer_impl_unittest.cc b/content/renderer/media/audio_renderer_impl_unittest.cc
index 21c2c9974a1de70a2bc0bbd97d3296602c9c5886..7a2895bb58536e92512052b3630c23b86bf80f16 100644
--- a/content/renderer/media/audio_renderer_impl_unittest.cc
+++ b/content/renderer/media/audio_renderer_impl_unittest.cc
@@ -168,18 +168,6 @@ TEST_F(AudioRendererImplTest, SetVolume) {
WaitForIOThreadCompletion();
}
-TEST_F(AudioRendererImplTest, Stop) {
- // Execute Stop() codepath.
- // Tasks will be posted internally on the IO thread.
- renderer_->Stop(media::NewExpectedClosure());
-
- WaitForIOThreadCompletion();
-
- // It's possible that the upstream decoder replies right after being stopped.
- scoped_refptr<media::Buffer> buffer(new media::DataBuffer(kSize));
- renderer_->ConsumeAudioSamples(buffer);
-}
-
TEST_F(AudioRendererImplTest, UpdateEarliestEndTime) {
renderer_->SetPlaybackRate(1.0f);
WaitForIOThreadCompletion();
« no previous file with comments | « no previous file | media/base/filters.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698