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

Unified Diff: trunk/src/media/cast/test/utility/audio_utility.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
« no previous file with comments | « trunk/src/media/cast/test/receiver.cc ('k') | trunk/src/media/media.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/media/cast/test/utility/audio_utility.cc
===================================================================
--- trunk/src/media/cast/test/utility/audio_utility.cc (revision 290375)
+++ trunk/src/media/cast/test/utility/audio_utility.cc (working copy)
@@ -36,7 +36,7 @@
const int num_samples = static_cast<int>((sample_rate_ * duration) /
base::TimeDelta::FromSeconds(1));
scoped_ptr<AudioBus> bus(AudioBus::Create(num_channels_, num_samples));
- source_.OnMoreData(bus.get(), 0);
+ source_.OnMoreData(bus.get(), AudioBuffersState());
bus->Scale(volume_);
return bus.Pass();
}
« no previous file with comments | « trunk/src/media/cast/test/receiver.cc ('k') | trunk/src/media/media.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698