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

Unified Diff: media/base/audio_buffer_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/audio_buffer_converter.h ('k') | media/base/audio_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/audio_buffer_converter.cc
diff --git a/media/base/audio_buffer_converter.cc b/media/base/audio_buffer_converter.cc
index d8ea29ee6529c6767bc1b268dc51e2da3d55d913..c4e213ebb33b96a6559317b61b7d40d7c715e773 100644
--- a/media/base/audio_buffer_converter.cc
+++ b/media/base/audio_buffer_converter.cc
@@ -91,7 +91,7 @@ void AudioBufferConverter::ResetTimestampState() {
}
double AudioBufferConverter::ProvideInput(AudioBus* audio_bus,
- base::TimeDelta buffer_delay) {
+ uint32_t frames_delayed) {
DCHECK(is_flushing_ || input_frames_ >= audio_bus->frames());
int requested_frames_left = audio_bus->frames();
« no previous file with comments | « media/base/audio_buffer_converter.h ('k') | media/base/audio_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698