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

Unified Diff: media/cast/test/fake_media_source.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/cast/test/fake_media_source.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/cast/test/fake_media_source.cc
diff --git a/media/cast/test/fake_media_source.cc b/media/cast/test/fake_media_source.cc
index 9bd792cdbf2be19043cf1abf4b0065ebda365deb..d038eda6908053c8fa2a6d2fcda520412be6d56c 100644
--- a/media/cast/test/fake_media_source.cc
+++ b/media/cast/test/fake_media_source.cc
@@ -592,7 +592,7 @@ void FakeMediaSource::Decode(bool decode_audio) {
}
double FakeMediaSource::ProvideInput(media::AudioBus* output_bus,
- base::TimeDelta buffer_delay) {
+ uint32_t frames_delayed) {
if (audio_fifo_->frames() >= output_bus->frames()) {
audio_fifo_->Consume(output_bus, 0, output_bus->frames());
return 1.0;
« no previous file with comments | « media/cast/test/fake_media_source.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698