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

Unified Diff: media/base/loopback_audio_converter.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/loopback_audio_converter.h ('k') | media/blink/webaudiosourceprovider_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/loopback_audio_converter.cc
diff --git a/media/base/loopback_audio_converter.cc b/media/base/loopback_audio_converter.cc
index 0ae3df1d8cce443a1b6e259b8134ef13509e4119..3b16b96b0d1fa73b7dab3bc0a6df979e3560f234 100644
--- a/media/base/loopback_audio_converter.cc
+++ b/media/base/loopback_audio_converter.cc
@@ -15,8 +15,8 @@ LoopbackAudioConverter::LoopbackAudioConverter(
LoopbackAudioConverter::~LoopbackAudioConverter() {}
double LoopbackAudioConverter::ProvideInput(AudioBus* audio_bus,
- base::TimeDelta buffer_delay) {
- audio_converter_.ConvertWithDelay(buffer_delay, audio_bus);
+ uint32_t frames_delayed) {
+ audio_converter_.ConvertWithDelay(frames_delayed, audio_bus);
return 1.0;
}
« no previous file with comments | « media/base/loopback_audio_converter.h ('k') | media/blink/webaudiosourceprovider_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698