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

Unified Diff: media/base/audio_bus_perftest.cc

Issue 2517503003: Reland: Make more media APIs aware of |delay| and |delay_timestamp| (Closed)
Patch Set: Comments from chcunningham@ and Dale Created 4 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 | « media/audio/win/audio_output_win_unittest.cc ('k') | media/base/audio_converter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_bus_perftest.cc
diff --git a/media/base/audio_bus_perftest.cc b/media/base/audio_bus_perftest.cc
index 62d710e6a99bfce4471c774ad483c77d31653929..fd882d74b5816f071d900cd90eb70edbe88e279e 100644
--- a/media/base/audio_bus_perftest.cc
+++ b/media/base/audio_bus_perftest.cc
@@ -46,7 +46,7 @@ void RunInterleaveBench(AudioBus* bus, const std::string& trace_name) {
TEST(AudioBusPerfTest, Interleave) {
std::unique_ptr<AudioBus> bus = AudioBus::Create(2, 48000 * 120);
FakeAudioRenderCallback callback(0.2);
- callback.Render(bus.get(), 0, 0);
+ callback.Render(base::TimeDelta(), base::TimeTicks::Now(), 0, bus.get());
RunInterleaveBench<int8_t>(bus.get(), "int8_t");
RunInterleaveBench<int16_t>(bus.get(), "int16_t");
« no previous file with comments | « media/audio/win/audio_output_win_unittest.cc ('k') | media/base/audio_converter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698