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

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

Issue 481193003: Remove AudioBuffersState usage in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix audio muter build buster. Created 6 years, 3 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: components/copresence/mediums/audio/audio_player_unittest.cc
diff --git a/components/copresence/mediums/audio/audio_player_unittest.cc b/components/copresence/mediums/audio/audio_player_unittest.cc
index 8900d5d6f7556797653a2329cf443c7b0f27234d..5aa7c2e521df057a45a3dffa883f7562407fe30d 100644
--- a/components/copresence/mediums/audio/audio_player_unittest.cc
+++ b/components/copresence/mediums/audio/audio_player_unittest.cc
@@ -48,7 +48,7 @@ class TestAudioOutputStream : public media::AudioOutputStream {
// 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(), media::AudioBuffersState());
+ frames = callback_->OnMoreData(dest.get(), 0);
total_frames += frames;
// Send the samples given to us by the player to the gather callback.
caller_loop_->PostTask(
« no previous file with comments | « components/copresence/mediums/audio/audio_player.cc ('k') | content/browser/media/capture/web_contents_audio_muter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698