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

Unified Diff: media/base/audio_converter_perftest.cc

Issue 2004283002: AudioConverter: Express delay in frames rather than msec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Missed files & removed rounding Created 4 years, 7 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 | « media/base/audio_converter.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_converter_perftest.cc
diff --git a/media/base/audio_converter_perftest.cc b/media/base/audio_converter_perftest.cc
index 092688e11be4b36025a474b89a1d52e45fcf1d6a..1862beeebd1739f4229fcdba7ce1f355adc554fb 100644
--- a/media/base/audio_converter_perftest.cc
+++ b/media/base/audio_converter_perftest.cc
@@ -20,8 +20,7 @@ class NullInputProvider : public AudioConverter::InputCallback {
NullInputProvider() {}
~NullInputProvider() override {}
- double ProvideInput(AudioBus* audio_bus,
- base::TimeDelta buffer_delay) override {
+ double ProvideInput(AudioBus* audio_bus, uint32_t frames_delayed) override {
audio_bus->Zero();
return 1;
}
« no previous file with comments | « media/base/audio_converter.cc ('k') | media/base/audio_converter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698