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

Unified Diff: trunk/src/components/copresence/mediums/audio/audio_player_unittest.cc

Issue 487543002: Revert 290359 "Remove AudioBuffersState class." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 4 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: trunk/src/components/copresence/mediums/audio/audio_player_unittest.cc
===================================================================
--- trunk/src/components/copresence/mediums/audio/audio_player_unittest.cc (revision 290374)
+++ trunk/src/components/copresence/mediums/audio/audio_player_unittest.cc (working copy)
@@ -48,7 +48,7 @@
// Call back into the player to get samples that it wants us to play.
scoped_ptr<media::AudioBus> dest =
media::AudioBus::Create(1, default_frame_count_);
- frames = callback_->OnMoreData(dest.get(), 0);
+ frames = callback_->OnMoreData(dest.get(), media::AudioBuffersState());
total_frames += frames;
// Send the samples given to us by the player to the gather callback.
caller_loop_->PostTask(

Powered by Google App Engine
This is Rietveld 408576698